Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestJunctions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestJunctions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7376/0.7376, allocations: 150.8 MB / 166.1 MB, free: 15.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.204e-05/1.206e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1315, allocations: 31.97 MB / 236.8 MB, free: 5.441 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestJunctions2): time 1.437/1.568, allocations: 298.6 MB / 0.5228 GB, free: 8.523 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04043/1.609, allocations: 38.24 MB / 0.5601 GB, free: 2.426 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007446/1.609, allocations: 12 kB / 0.5601 GB, free: 2.414 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006068/1.61, allocations: 234.4 kB / 0.5604 GB, free: 2.184 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001235/1.611, allocations: 492.2 kB / 0.5608 GB, free: 1.699 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01812/1.629, allocations: 7.606 MB / 0.5682 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001873/1.631, allocations: 1.89 MB / 0.5701 GB, free: 8.191 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006888/1.632, allocations: 0.677 MB / 0.5708 GB, free: 7.5 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005955/1.633, allocations: 0.6102 MB / 0.5714 GB, free: 6.887 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004819/1.633, allocations: 0.5904 MB / 0.5719 GB, free: 6.293 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.715e-05/1.633, allocations: 52 kB / 0.572 GB, free: 6.242 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02543/1.659, allocations: 17.84 MB / 0.5894 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002346/1.659, allocations: 210.8 kB / 0.5896 GB, free: 4.172 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007666/1.66, allocations: 0.7475 MB / 0.5903 GB, free: 3.414 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01572/1.675, allocations: 9.724 MB / 0.5998 GB, free: 9.664 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.675, allocations: 0 / 0.5998 GB, free: 9.664 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.023e-06/1.675, allocations: 0 / 0.5998 GB, free: 9.664 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.754e-05/1.676, allocations: 0 / 0.5998 GB, free: 9.664 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.004627/1.68, allocations: 2.351 MB / 0.6021 GB, free: 7.258 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/1.68, allocations: 12.03 kB / 0.6021 GB, free: 7.246 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/1.68, allocations: 185.7 kB / 0.6023 GB, free: 7.062 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005792/1.681, allocations: 0.5771 MB / 0.6029 GB, free: 6.441 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.541e-05/1.681, allocations: 106.8 kB / 0.603 GB, free: 6.336 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/1.681, allocations: 132 kB / 0.6031 GB, free: 6.207 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/1.683, allocations: 1.725 MB / 0.6048 GB, free: 4.332 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/1.683, allocations: 7.938 kB / 0.6048 GB, free: 4.324 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.652e-05/1.683, allocations: 63.98 kB / 0.6049 GB, free: 4.262 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.433e-05/1.683, allocations: 71.95 kB / 0.6049 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/1.685, allocations: 1.05 MB / 0.6059 GB, free: 3.148 MB / 494.1 MB 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.05491/1.74, allocations: 35.73 MB / 0.6408 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/1.741, allocations: 0.7362 MB / 0.6416 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005641/1.741, allocations: 498.1 kB / 0.642 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2849/2.026, allocations: 77.96 MB / 0.7182 GB, free: 207.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/2.026, allocations: 41 kB / 0.7182 GB, free: 207.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=194): time 3.006e-06/2.026, allocations: 0 / 0.7182 GB, free: 207.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=194): time 0.005494/2.032, allocations: 3.191 MB / 0.7213 GB, free: 206.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/2.032, allocations: 117.7 kB / 0.7214 GB, free: 206.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006826/2.033, allocations: 0.7391 MB / 0.7222 GB, free: 206.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/2.033, allocations: 43.27 kB / 0.7222 GB, free: 206.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/2.033, allocations: 0.5446 MB / 0.7227 GB, free: 206 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000258/2.033, allocations: 0.6204 MB / 0.7233 GB, free: 205.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/2.033, allocations: 150.1 kB / 0.7235 GB, free: 205.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.204e-05/2.033, allocations: 358 kB / 0.7238 GB, free: 205.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000455/2.034, allocations: 353.6 kB / 0.7242 GB, free: 205.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005534/2.034, allocations: 0.6633 MB / 0.7248 GB, free: 204.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/2.036, allocations: 1.156 MB / 0.7259 GB, free: 204.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/2.036, allocations: 1.25 kB / 0.7259 GB, free: 204.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.002379/2.038, allocations: 1.706 MB / 0.7276 GB, free: 204.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/2.038, allocations: 10 kB / 0.7276 GB, free: 204.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/2.038, allocations: 12.78 kB / 0.7276 GB, free: 204.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001964/2.04, allocations: 1.124 MB / 0.7287 GB, free: 204.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/2.04, allocations: 53.39 kB / 0.7288 GB, free: 204.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005297/2.045, allocations: 9.855 MB / 0.7384 GB, free: 195.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005679/2.046, allocations: 167 kB / 0.7386 GB, free: 195.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.698e-05/2.046, allocations: 46.64 kB / 0.7386 GB, free: 195.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 36 (sinkP2.C.a,singularPressureLoss8.C2.b,singularPressureLoss8.C1.a,singularPressureLoss7.C2.b,singularPressureLoss7.C1.a,sourceQ1.C.b,massFlowMultiplier.Cs.b,massFlowMultiplier.Ce.a,singularPressureLoss6.C2.b,singularPressureLoss6.C1.a,sourceQ.C.b,sinkP1.C.a,sourceP3.C.b,sourceP2.C.b,singularPressureLoss5.C2.b,singularPressureLoss5.C1.a,singularPressureLoss4.C2.b,singularPressureLoss4.C1.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,mixer2_2.Ce3.a,mixer2_2.Ce1.a,mixer2_2.Cs.b,mixer2_2.Ce2.a,sinkP.C.a,sourceP1.C.b,sourceP.C.b,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,mixer2_1.Ce1.a,mixer2_1.Cs.b,mixer2_1.Ce2.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003658/2.046, allocations: 289.5 kB / 0.7389 GB, free: 195.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/2.047, allocations: 119.3 kB / 0.739 GB, free: 195.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003525/2.05, allocations: 3.948 MB / 0.7428 GB, free: 194.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002287/2.052, allocations: 2.052 MB / 0.7448 GB, free: 194.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/2.053, allocations: 7.906 kB / 0.7449 GB, free: 194.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/2.053, allocations: 11.53 kB / 0.7449 GB, free: 194.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005267/2.058, allocations: 5.141 MB / 0.7499 GB, free: 192.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/2.058, allocations: 3.969 kB / 0.7499 GB, free: 192.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004129/2.058, allocations: 201.9 kB / 0.7501 GB, free: 192.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001702/2.06, allocations: 1.196 MB / 0.7513 GB, free: 192 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.968e-05/2.06, allocations: 41.8 kB / 0.7513 GB, free: 191.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004976/2.065, allocations: 9.972 MB / 0.761 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/2.065, allocations: 3.844 kB / 0.761 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/2.067, allocations: 2.448 MB / 0.7634 GB, free: 179.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003664/2.068, allocations: 394.1 kB / 0.7638 GB, free: 179.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.501e-05/2.068, allocations: 32 kB / 0.7638 GB, free: 179.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005042/2.068, allocations: 59.67 kB / 0.7639 GB, free: 179.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/2.069, allocations: 120.9 kB / 0.764 GB, free: 179.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/2.069, allocations: 44 kB / 0.764 GB, free: 179.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005429/2.069, allocations: 0.613 MB / 0.7646 GB, free: 178.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/2.069, allocations: 0 / 0.7646 GB, free: 178.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003158/2.072, allocations: 1.574 MB / 0.7662 GB, free: 177.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (142): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003958/2.076, allocations: 1.813 MB / 0.768 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002923/2.079, allocations: 2.467 MB / 0.7704 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/2.079, allocations: 0 / 0.7704 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001805/2.081, allocations: 1.352 MB / 0.7717 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003438/2.085, allocations: 0.711 MB / 0.7724 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003249/2.088, allocations: 3.984 MB / 0.7763 GB, free: 167 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005733/2.088, allocations: 1.429 MB / 0.7777 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004542/2.089, allocations: 148.3 kB / 0.7778 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/2.089, allocations: 87.44 kB / 0.7779 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/2.089, allocations: 4 kB / 0.7779 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.06653/2.155, allocations: 66 MB / 0.8423 GB, free: 100.4 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions2.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions2.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions2.pipe 2>&1) Environment - environmentSimulation: