Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.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.TestMassFlowMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier") translateModel(ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8006/0.8006, allocations: 150.9 MB / 166 MB, free: 14.56 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002699/0.0002699, allocations: 15.97 kB / 204 MB, free: 10.09 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1246, allocations: 31.33 MB / 235.3 MB, free: 5.668 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier): time 1.518/1.643, allocations: 293 MB / 0.5159 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03538/1.678, allocations: 33.48 MB / 0.5486 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/1.679, allocations: 8 kB / 0.5486 GB, free: 12.38 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourcePQ.mo:29:3-30:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/Sink.mo:17:3-19:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/MassFlowMultiplier.mo:16:3-18:16:writable] Warning: Connector Ce is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/MassFlowMultiplier.mo:19:3-20:52:writable] Warning: Connector Cs is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000392/1.679, allocations: 88.52 kB / 0.5487 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/1.679, allocations: 111.1 kB / 0.5488 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01698/1.696, allocations: 6.262 MB / 0.5549 GB, free: 5.918 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005264/1.697, allocations: 417.9 kB / 0.5553 GB, free: 5.508 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002622/1.697, allocations: 166 kB / 0.5555 GB, free: 5.359 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/1.697, allocations: 155.3 kB / 0.5557 GB, free: 5.207 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/1.697, allocations: 159.2 kB / 0.5558 GB, free: 5.051 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/1.698, allocations: 20 kB / 0.5558 GB, free: 5.031 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02346/1.721, allocations: 14.88 MB / 0.5703 GB, free: 6.137 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.273e-05/1.721, allocations: 63.72 kB / 0.5704 GB, free: 6.074 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002242/1.721, allocations: 171.1 kB / 0.5706 GB, free: 5.906 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01574/1.737, allocations: 7.622 MB / 0.578 GB, free: 14.27 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/1.737, allocations: 0 / 0.578 GB, free: 14.27 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.024e-06/1.737, allocations: 4 kB / 0.578 GB, free: 14.26 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.824e-06/1.737, allocations: 0 / 0.578 GB, free: 14.26 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.003402/1.741, allocations: 1.396 MB / 0.5794 GB, free: 12.82 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/1.741, allocations: 8.031 kB / 0.5794 GB, free: 12.81 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.737e-05/1.741, allocations: 47.38 kB / 0.5794 GB, free: 12.76 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/1.741, allocations: 254.3 kB / 0.5797 GB, free: 12.47 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/1.741, allocations: 24.66 kB / 0.5797 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/1.741, allocations: 28 kB / 0.5797 GB, free: 12.42 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005114/1.742, allocations: 405.2 kB / 0.5801 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.742, allocations: 0 / 0.5801 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/1.742, allocations: 12 kB / 0.5801 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/1.742, allocations: 12 kB / 0.5801 GB, free: 11.97 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/1.742, allocations: 230.4 kB / 0.5804 GB, free: 11.75 MB / 478.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.00175/1.744, allocations: 2.428 MB / 0.5827 GB, free: 9.035 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/1.744, allocations: 159.1 kB / 0.5829 GB, free: 8.871 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/1.744, allocations: 97.22 kB / 0.583 GB, free: 8.773 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07667/1.821, allocations: 44.14 MB / 0.6261 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/1.821, allocations: 38.5 kB / 0.6261 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 2.294e-06/1.821, allocations: 0 / 0.6261 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39): time 0.001671/1.823, allocations: 0.7195 MB / 0.6268 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/1.823, allocations: 51.41 kB / 0.6269 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/1.823, allocations: 248.9 kB / 0.6271 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/1.823, allocations: 25.7 kB / 0.6271 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/1.823, allocations: 176.2 kB / 0.6273 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.643e-05/1.823, allocations: 138 kB / 0.6274 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.663e-05/1.823, allocations: 49.7 kB / 0.6275 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.823, allocations: 346.7 kB / 0.6278 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/1.823, allocations: 64.42 kB / 0.6279 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/1.824, allocations: 143.5 kB / 0.628 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/1.824, allocations: 248.4 kB / 0.6282 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.824, allocations: 0 / 0.6282 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006057/1.825, allocations: 371.5 kB / 0.6286 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/1.825, allocations: 8.188 kB / 0.6286 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.825, allocations: 8 kB / 0.6286 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006372/1.825, allocations: 247.9 kB / 0.6288 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.3e-05/1.825, allocations: 8 kB / 0.6289 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/1.827, allocations: 2.589 MB / 0.6314 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/1.828, allocations: 35.53 kB / 0.6314 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/1.828, allocations: 12 kB / 0.6314 GB, free: 1.215 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (massFlowMultiplier.Cs.b,massFlowMultiplier.Ce.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,sink.C.a,sourcePQ.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001519/1.828, allocations: 148.3 kB / 0.6316 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/1.828, allocations: 31.56 kB / 0.6316 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008407/1.829, allocations: 0.665 MB / 0.6322 GB, free: 360 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006482/1.829, allocations: 498 kB / 0.6327 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.829, allocations: 3.938 kB / 0.6327 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/1.829, allocations: 3.984 kB / 0.6327 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/1.831, allocations: 1.263 MB / 0.634 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/1.831, allocations: 0 / 0.634 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/1.831, allocations: 43.92 kB / 0.634 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005259/1.832, allocations: 282.4 kB / 0.6343 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/1.832, allocations: 7.938 kB / 0.6343 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/1.834, allocations: 2.617 MB / 0.6368 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.834, allocations: 4.062 kB / 0.6368 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007973/1.834, allocations: 0.6139 MB / 0.6374 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/1.835, allocations: 136.5 kB / 0.6376 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/1.835, allocations: 4 kB / 0.6376 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/1.835, allocations: 27.92 kB / 0.6376 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/1.835, allocations: 23.97 kB / 0.6376 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/1.835, allocations: 4 kB / 0.6376 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001692/1.835, allocations: 176.5 kB / 0.6378 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/1.835, allocations: 0 / 0.6378 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002875/1.838, allocations: 1.112 MB / 0.6389 GB, free: 9.246 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004351/1.842, allocations: 1.645 MB / 0.6405 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009841/1.843, allocations: 0.5509 MB / 0.641 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.843, allocations: 0 / 0.641 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005519/1.844, allocations: 352.1 kB / 0.6414 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009156/1.845, allocations: 161.9 kB / 0.6415 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/1.846, allocations: 0.9628 MB / 0.6425 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/1.846, allocations: 0.8363 MB / 0.6433 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001354/1.846, allocations: 38.27 kB / 0.6433 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/1.847, allocations: 27.44 kB / 0.6433 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of SimCode: time 2.21e-07/1.847, allocations: 0 / 0.6433 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of Templates: time 0.05303/1.9, allocations: 41.58 MB / 0.6839 GB, free: 11.05 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.pipe 2>&1)