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.8068/0.8068, allocations: 150.8 MB / 166.6 MB, free: 11.16 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002585/0.0002586, allocations: 15.97 kB / 204.7 MB, free: 6.152 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1445, allocations: 31.33 MB / 236 MB, free: 3.875 MB / 186.7 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.807/1.951, allocations: 292.3 MB / 0.5159 GB, free: 9.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.04096/1.992, allocations: 33.48 MB / 0.5486 GB, free: 8.344 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/1.993, allocations: 4 kB / 0.5486 GB, free: 8.34 MB / 442.7 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.0004361/1.993, allocations: 85.52 kB / 0.5487 GB, free: 8.258 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/1.993, allocations: 107.1 kB / 0.5488 GB, free: 8.152 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02509/2.018, allocations: 6.266 MB / 0.5549 GB, free: 1.887 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005325/2.019, allocations: 417.9 kB / 0.5553 GB, free: 1.477 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/2.019, allocations: 166.5 kB / 0.5555 GB, free: 1.328 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/2.019, allocations: 159.3 kB / 0.5556 GB, free: 1.172 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/2.02, allocations: 155.2 kB / 0.5558 GB, free: 1.02 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/2.02, allocations: 20 kB / 0.5558 GB, free: 1 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.024/2.044, allocations: 14.88 MB / 0.5703 GB, free: 2.102 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.717e-05/2.044, allocations: 55.77 kB / 0.5704 GB, free: 2.047 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002393/2.044, allocations: 179 kB / 0.5705 GB, free: 1.871 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0162/2.06, allocations: 7.622 MB / 0.578 GB, free: 10.23 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/2.06, allocations: 0 / 0.578 GB, free: 10.23 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.664e-06/2.06, allocations: 0 / 0.578 GB, free: 10.23 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/2.06, allocations: 4 kB / 0.578 GB, free: 10.23 MB / 474.7 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.003627/2.064, allocations: 1.388 MB / 0.5794 GB, free: 8.789 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/2.064, allocations: 8.031 kB / 0.5794 GB, free: 8.781 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.588e-05/2.064, allocations: 47.38 kB / 0.5794 GB, free: 8.734 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/2.064, allocations: 265 kB / 0.5797 GB, free: 8.438 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/2.064, allocations: 24.66 kB / 0.5797 GB, free: 8.41 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/2.064, allocations: 28 kB / 0.5797 GB, free: 8.383 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005388/2.065, allocations: 397.2 kB / 0.5801 GB, free: 7.961 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/2.065, allocations: 7.938 kB / 0.5801 GB, free: 7.953 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/2.065, allocations: 12 kB / 0.5801 GB, free: 7.941 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/2.065, allocations: 19.98 kB / 0.5801 GB, free: 7.922 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003611/2.065, allocations: 222.4 kB / 0.5803 GB, free: 7.707 MB / 474.7 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.001913/2.067, allocations: 2.431 MB / 0.5827 GB, free: 4.992 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/2.068, allocations: 159.1 kB / 0.5829 GB, free: 4.828 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/2.068, allocations: 97.25 kB / 0.583 GB, free: 4.73 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08387/2.152, allocations: 44.14 MB / 0.6261 GB, free: 3.039 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/2.152, allocations: 38.48 kB / 0.6261 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=39): time 2.304e-06/2.152, allocations: 0 / 0.6261 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.001662/2.153, allocations: 0.7195 MB / 0.6268 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/2.153, allocations: 55.41 kB / 0.6269 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/2.154, allocations: 240.9 kB / 0.6271 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/2.154, allocations: 29.7 kB / 0.6271 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/2.154, allocations: 176.2 kB / 0.6273 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.876e-05/2.154, allocations: 130.1 kB / 0.6274 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.54e-05/2.154, allocations: 57.69 kB / 0.6275 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001096/2.154, allocations: 338.8 kB / 0.6278 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/2.154, allocations: 68.42 kB / 0.6278 GB, free: 1.078 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/2.154, allocations: 143.6 kB / 0.628 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/2.155, allocations: 240.4 kB / 0.6282 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/2.155, allocations: 0 / 0.6282 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006049/2.155, allocations: 375.7 kB / 0.6286 GB, free: 276 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/2.155, allocations: 9.25 kB / 0.6286 GB, free: 268 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/2.155, allocations: 0 / 0.6286 GB, free: 268 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006203/2.156, allocations: 254.4 kB / 0.6288 GB, free: 4 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.723e-05/2.156, allocations: 11.98 kB / 0.6288 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/2.158, allocations: 2.583 MB / 0.6314 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/2.158, allocations: 35.53 kB / 0.6314 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/2.158, allocations: 15.98 kB / 0.6314 GB, free: 13.17 MB / 0.5261 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.0001446/2.158, allocations: 146 kB / 0.6315 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/2.158, allocations: 31.56 kB / 0.6316 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008574/2.159, allocations: 0.6649 MB / 0.6322 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006332/2.16, allocations: 0.4941 MB / 0.6327 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/2.16, allocations: 3.938 kB / 0.6327 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/2.16, allocations: 4 kB / 0.6327 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/2.162, allocations: 1.26 MB / 0.6339 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/2.162, allocations: 0 / 0.6339 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/2.162, allocations: 55.97 kB / 0.634 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005143/2.162, allocations: 270.3 kB / 0.6343 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/2.162, allocations: 11.94 kB / 0.6343 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/2.164, allocations: 2.618 MB / 0.6368 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/2.164, allocations: 0 / 0.6368 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/2.166, allocations: 1.417 MB / 0.6382 GB, free: 5.84 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/2.166, allocations: 136.5 kB / 0.6383 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/2.166, allocations: 8 kB / 0.6383 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/2.166, allocations: 19.88 kB / 0.6384 GB, free: 5.66 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/2.166, allocations: 31.73 kB / 0.6384 GB, free: 5.629 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/2.166, allocations: 8 kB / 0.6384 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001526/2.166, allocations: 172.5 kB / 0.6386 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.2e-07/2.166, allocations: 4 kB / 0.6386 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002951/2.169, allocations: 1.144 MB / 0.6397 GB, free: 4.305 MB / 0.5261 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.004303/2.173, allocations: 1.622 MB / 0.6413 GB, free: 2.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001006/2.175, allocations: 0.5547 MB / 0.6418 GB, free: 2.098 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/2.175, allocations: 0 / 0.6418 GB, free: 2.098 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005555/2.175, allocations: 356.4 kB / 0.6422 GB, free: 1.738 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009337/2.176, allocations: 160.5 kB / 0.6423 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/2.177, allocations: 1.324 MB / 0.6436 GB, free: 224 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/2.178, allocations: 0.8558 MB / 0.6444 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001287/2.178, allocations: 38.22 kB / 0.6445 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/2.178, allocations: 27.44 kB / 0.6445 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of SimCode: time 2.9e-07/2.178, allocations: 0 / 0.6445 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of Templates: time 0.05162/2.23, allocations: 41.86 MB / 0.6854 GB, free: 5.453 MB / 0.573 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)