Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.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: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPumpWaterSolution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPumpWaterSolution",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8067/0.8067, allocations: 150.9 MB / 166.4 MB, free: 14.18 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.000369, allocations: 19.97 kB / 204.6 MB, free: 9.508 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1321, allocations: 31.33 MB / 236 MB, free: 5.402 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.TestStaticCentrifugalPumpWaterSolution): time 1.547/1.679, allocations: 294.4 MB / 0.518 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01377/1.693, allocations: 12.02 MB / 0.5297 GB, free: 1.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/1.693, allocations: 4 kB / 0.5297 GB, free: 1.719 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSolution/PressureLosses/SingularPressureLoss.mo:15:3-17: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/WaterSolution/PressureLosses/SingularPressureLoss.mo:18:3-19:83: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/WaterSolution/Machines/StaticCentrifugalPump.mo:46:3-48: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/WaterSolution/Machines/StaticCentrifugalPump.mo:49:3-50:83: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/WaterSolution/BoundaryConditions/SourcePQ.mo:9:3-10:83:writable] Warning: Connector Cs 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/WaterSolution/BoundaryConditions/Sink.mo:10:3-12:16:writable] Warning: Connector Ce 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.0001168/1.693, allocations: 29.84 kB / 0.5298 GB, free: 1.691 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/1.693, allocations: 61.17 kB / 0.5298 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006886/1.7, allocations: 3.424 MB / 0.5332 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002868/1.7, allocations: 264.4 kB / 0.5334 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/1.7, allocations: 156.3 kB / 0.5336 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/1.701, allocations: 107.6 kB / 0.5337 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/1.701, allocations: 115.5 kB / 0.5338 GB, free: 13.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/1.701, allocations: 24.81 kB / 0.5338 GB, free: 13.58 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01036/1.711, allocations: 7.51 MB / 0.5411 GB, free: 6.059 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.18e-05/1.711, allocations: 60.3 kB / 0.5412 GB, free: 6 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/1.711, allocations: 123.9 kB / 0.5413 GB, free: 5.879 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004016/1.715, allocations: 3.394 MB / 0.5446 GB, free: 2.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.715, allocations: 4 kB / 0.5446 GB, free: 2.477 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/1.715, allocations: 0 / 0.5446 GB, free: 2.477 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/1.715, allocations: 0 / 0.5446 GB, free: 2.477 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001663/1.717, allocations: 0.8162 MB / 0.5454 GB, free: 1.605 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/1.717, allocations: 12.03 kB / 0.5454 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.954e-05/1.717, allocations: 58.72 kB / 0.5455 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.015e-05/1.717, allocations: 28.59 kB / 0.5455 GB, free: 1.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/1.717, allocations: 240.4 kB / 0.5457 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/1.718, allocations: 19.84 kB / 0.5458 GB, free: 1.211 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/1.718, allocations: 24.38 kB / 0.5458 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005183/1.718, allocations: 294.2 kB / 0.5461 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/1.718, allocations: 0 / 0.5461 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/1.718, allocations: 8 kB / 0.5461 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/1.718, allocations: 8 kB / 0.5461 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004537/1.719, allocations: 184 kB / 0.5463 GB, free: 0.6836 MB / 430.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.006191/1.725, allocations: 3.03 MB / 0.5492 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005461/1.725, allocations: 178.8 kB / 0.5494 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/1.726, allocations: 69.95 kB / 0.5495 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004526/1.73, allocations: 1.694 MB / 0.5511 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002918/1.73, allocations: 145 kB / 0.5512 GB, free: 11.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 2.245e-06/1.73, allocations: 0 / 0.5512 GB, free: 11.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006849/1.731, allocations: 265.1 kB / 0.5515 GB, free: 11.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/1.731, allocations: 110.8 kB / 0.5516 GB, free: 10.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/1.731, allocations: 266.5 kB / 0.5519 GB, free: 10.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/1.731, allocations: 29.7 kB / 0.5519 GB, free: 10.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.575e-05/1.732, allocations: 156.2 kB / 0.552 GB, free: 10.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/1.732, allocations: 59.19 kB / 0.5521 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.167e-05/1.732, allocations: 49.7 kB / 0.5521 GB, free: 10.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/1.732, allocations: 338.8 kB / 0.5525 GB, free: 9.984 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/1.732, allocations: 72.12 kB / 0.5525 GB, free: 9.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/1.732, allocations: 111.3 kB / 0.5526 GB, free: 9.777 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002797/1.735, allocations: 0.6326 MB / 0.5533 GB, free: 9.098 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.735, allocations: 0 / 0.5533 GB, free: 9.098 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000554/1.736, allocations: 278.8 kB / 0.5535 GB, free: 8.812 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/1.736, allocations: 33.69 kB / 0.5536 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/1.736, allocations: 4 kB / 0.5536 GB, free: 8.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/1.736, allocations: 0 / 0.5536 GB, free: 8.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/1.737, allocations: 219.9 kB / 0.5538 GB, free: 8.555 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003245/1.738, allocations: 0.5937 MB / 0.5543 GB, free: 7.938 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/1.738, allocations: 35.67 kB / 0.5544 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/1.738, allocations: 12.09 kB / 0.5544 GB, free: 7.891 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: pulse.T0:DISCRETE(fixed = true protected = true ) type: Real Pulse1.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.pulse.T0,$PRE.Pulse1.T0,pulse.T0,Pulse1.yL.signal,Pulse1.T0,$whenCondition2,sinkSolution.Ce.a,sourceSolution.Cs.b,staticCentrifugalPumpWaterLiBr.C2.b,staticCentrifugalPumpWaterLiBr.C1.a,singularPressureLossWaterLiBr.C2.b,singularPressureLossWaterLiBr.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000184/1.738, allocations: 176.6 kB / 0.5546 GB, free: 7.703 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/1.738, allocations: 23.72 kB / 0.5546 GB, free: 7.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005553/1.739, allocations: 246.6 kB / 0.5548 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/1.739, allocations: 9.516 kB / 0.5548 GB, free: 7.414 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/1.739, allocations: 0 / 0.5548 GB, free: 7.414 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.739, allocations: 0 / 0.5548 GB, free: 7.414 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/1.739, allocations: 289.4 kB / 0.5551 GB, free: 7.082 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.739, allocations: 0 / 0.5551 GB, free: 7.082 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001594/1.741, allocations: 203.7 kB / 0.5553 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/1.741, allocations: 4 kB / 0.5553 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/1.741, allocations: 4 kB / 0.5553 GB, free: 6.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002957/1.741, allocations: 0.5898 MB / 0.5559 GB, free: 6.262 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.741, allocations: 0 / 0.5559 GB, free: 6.262 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005134/1.742, allocations: 266.5 kB / 0.5561 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/1.742, allocations: 112.7 kB / 0.5562 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/1.742, allocations: 4 kB / 0.5562 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/1.742, allocations: 11.98 kB / 0.5563 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/1.742, allocations: 15.98 kB / 0.5563 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/1.742, allocations: 8 kB / 0.5563 GB, free: 5.809 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001761/1.742, allocations: 190 kB / 0.5565 GB, free: 5.625 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.742, allocations: 0 / 0.5565 GB, free: 5.625 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001027/1.743, allocations: 399.8 kB / 0.5568 GB, free: 5.234 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,Pulse1.T0,Pulse1.yL.signal,pulse.T0) * Number of discrete states: 3 (Pulse1.yL.signal,Pulse1.T0,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002465/1.746, allocations: 1.188 MB / 0.558 GB, free: 4.016 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01202/1.758, allocations: 0.9067 MB / 0.5589 GB, free: 3.102 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.758, allocations: 0 / 0.5589 GB, free: 3.102 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01065/1.768, allocations: 0.6589 MB / 0.5595 GB, free: 2.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/1.769, allocations: 42.94 kB / 0.5596 GB, free: 2.395 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/1.774, allocations: 2.629 MB / 0.5621 GB, free: 15.63 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/1.774, allocations: 0.7402 MB / 0.5629 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001591/1.775, allocations: 23.77 kB / 0.5629 GB, free: 14.85 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/1.775, allocations: 71.41 kB / 0.563 GB, free: 14.78 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/1.775, allocations: 0 / 0.563 GB, free: 14.78 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0509/1.826, allocations: 16.11 MB / 0.5787 GB, free: 14.89 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/13.79, allocations: 6.562 kB / 0.5787 GB, free: 14.88 MB / 478.1 MB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPumpWaterSolution_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPumpWaterSolution.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe 2>&1)