Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 105.9 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 190.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7786/0.7786, allocations: 132.2 MB / 423.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 62.98 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1339, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.5787/0.7127, allocations: 305.1 MB / 0.9583 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03373/0.7464, allocations: 25.8 MB / 0.9835 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003729/0.7502, allocations: 127.2 kB / 0.9836 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004725/0.755, allocations: 1.86 MB / 0.9854 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01419/0.7692, allocations: 6.183 MB / 0.9915 GB, free: 2.348 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00632/0.7755, allocations: 2.631 MB / 0.994 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01055/0.7861, allocations: 8.913 MB / 1.003 GB, free: 6.801 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005224/0.7913, allocations: 3.642 MB / 1.006 GB, free: 3.078 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009345/0.8007, allocations: 4.28 MB / 1.01 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005137/0.8058, allocations: 2.963 MB / 1.013 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001527/0.8074, allocations: 360 kB / 1.014 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00971/0.8171, allocations: 4.622 MB / 1.018 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002294/0.8194, allocations: 1.64 MB / 1.02 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.004428/0.8239, allocations: 2.135 MB / 1.022 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01082/0.8347, allocations: 6.762 MB / 1.029 GB, free: 12.32 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.8347, allocations: 3.938 kB / 1.029 GB, free: 12.31 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8347, allocations: 0 / 1.029 GB, free: 12.31 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.841e-05/0.8348, allocations: 0 / 1.029 GB, free: 12.31 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.006229/0.841, allocations: 4.179 MB / 1.033 GB, free: 8.062 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.8411, allocations: 8.031 kB / 1.033 GB, free: 8.055 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005497/0.8466, allocations: 0.9283 MB / 1.034 GB, free: 7.121 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004084/0.8507, allocations: 2.404 MB / 1.036 GB, free: 4.641 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002152/0.8509, allocations: 277.2 kB / 1.036 GB, free: 4.355 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003756/0.8513, allocations: 295.9 kB / 1.036 GB, free: 4.066 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005017/0.8563, allocations: 3.348 MB / 1.04 GB, free: 0.6328 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.888e-05/0.8564, allocations: 4 kB / 1.04 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000298/0.8567, allocations: 116 kB / 1.04 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.884e-05/0.8568, allocations: 113.2 kB / 1.04 GB, free: 412 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004169/0.861, allocations: 2.781 MB / 1.043 GB, free: 13.61 MB / 0.8106 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3091/1.17, allocations: 13.23 MB / 1.056 GB, free: 312.6 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002896/1.173, allocations: 1.819 MB / 1.057 GB, free: 312.6 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/1.174, allocations: 1.103 MB / 1.058 GB, free: 312.5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004096/1.175, allocations: 330.2 kB / 1.059 GB, free: 312.3 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/1.175, allocations: 60.12 kB / 1.059 GB, free: 312.2 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=182): time 3.737e-06/1.175, allocations: 1.125 kB / 1.059 GB, free: 312.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=182): time 0.005148/1.18, allocations: 2.72 MB / 1.061 GB, free: 311.7 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/1.18, allocations: 71.09 kB / 1.061 GB, free: 311.6 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003248/1.183, allocations: 1.998 MB / 1.063 GB, free: 310.9 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002173/1.184, allocations: 67.17 kB / 1.064 GB, free: 310.8 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009195/1.185, allocations: 1.413 MB / 1.065 GB, free: 310 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004782/1.185, allocations: 0.6382 MB / 1.066 GB, free: 309.5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000506/1.186, allocations: 392.9 kB / 1.066 GB, free: 309.3 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 3.734e-05/1.186, allocations: 303.2 kB / 1.066 GB, free: 309 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/1.187, allocations: 0.8056 MB / 1.067 GB, free: 308.7 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/1.188, allocations: 1.431 MB / 1.068 GB, free: 307.7 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002673/1.191, allocations: 2.25 MB / 1.071 GB, free: 306.4 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/1.191, allocations: 4.125 kB / 1.071 GB, free: 306.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004073/1.195, allocations: 2.492 MB / 1.073 GB, free: 305.4 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/1.195, allocations: 14.88 kB / 1.073 GB, free: 305.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/1.195, allocations: 12.88 kB / 1.073 GB, free: 305.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.934e-05/1.195, allocations: 26.56 kB / 1.073 GB, free: 305.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002489/1.198, allocations: 0.5563 MB / 1.074 GB, free: 305.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/1.199, allocations: 4.153 MB / 1.078 GB, free: 301.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002543/1.202, allocations: 223.8 kB / 1.078 GB, free: 301.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/1.202, allocations: 88.42 kB / 1.078 GB, free: 301.1 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002389/1.204, allocations: 1.459 MB / 1.079 GB, free: 300.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001535/1.206, allocations: 1.426 MB / 1.081 GB, free: 299.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002757/1.209, allocations: 2.232 MB / 1.083 GB, free: 298.2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.077e-06/1.209, allocations: 6.969 kB / 1.083 GB, free: 298.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.00384/1.212, allocations: 2.469 MB / 1.085 GB, free: 297.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/1.212, allocations: 12.7 kB / 1.085 GB, free: 297.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/1.212, allocations: 11.88 kB / 1.085 GB, free: 297.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/1.212, allocations: 23.78 kB / 1.085 GB, free: 297.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/1.214, allocations: 472.5 kB / 1.086 GB, free: 297.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-05/1.214, allocations: 33.44 kB / 1.086 GB, free: 297.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/1.217, allocations: 202.5 kB / 1.086 GB, free: 297 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/1.217, allocations: 90.12 kB / 1.086 GB, free: 297 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005302/1.217, allocations: 317.2 kB / 1.086 GB, free: 296.7 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003481/1.218, allocations: 266.6 kB / 1.087 GB, free: 296.6 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002853/1.22, allocations: 2.101 MB / 1.089 GB, free: 295.7 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00204/1.222, allocations: 1.88 MB / 1.091 GB, free: 294.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/1.222, allocations: 0 / 1.091 GB, free: 294.9 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/1.223, allocations: 0.5546 MB / 1.091 GB, free: 294.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003013/1.224, allocations: 47.11 kB / 1.091 GB, free: 294.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/1.225, allocations: 81.33 kB / 1.091 GB, free: 294.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/1.226, allocations: 102.5 kB / 1.091 GB, free: 294.5 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003932/1.23, allocations: 2.336 MB / 1.094 GB, free: 293.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003585/1.233, allocations: 3.416 MB / 1.097 GB, free: 292.1 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009087/1.234, allocations: 0.9126 MB / 1.098 GB, free: 291.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001448/1.236, allocations: 1.335 MB / 1.099 GB, free: 291.1 MB / 0.8106 GB Notification: Performance of Backend: time 3.31e-07/1.236, allocations: 3.75 kB / 1.099 GB, free: 291.1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.006488/1.242, allocations: 3.54 MB / 1.103 GB, free: 289.7 MB / 0.8106 GB Notification: Performance of SimCode: time 0.009716/1.252, allocations: 7.441 MB / 1.11 GB, free: 282.8 MB / 0.8106 GB Notification: Performance of Templates: time 0.07784/1.33, allocations: 69.47 MB / 1.178 GB, free: 213.9 MB / 0.8106 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)