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.8667/0.8667, allocations: 150.9 MB / 166.5 MB, free: 14.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.0003169, allocations: 15.38 kB / 236.6 MB, free: 1.992 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05849/0.05882, allocations: 31.35 MB / 267.9 MB, free: 7.543 MB / 222.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.596/1.655, allocations: 294.4 MB / 0.5492 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01488/1.67, allocations: 12.03 MB / 0.5609 GB, free: 1.293 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/1.67, allocations: 4 kB / 0.5609 GB, free: 1.289 MB / 446.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.0001485/1.671, allocations: 37.77 kB / 0.5609 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002287/1.671, allocations: 63.36 kB / 0.561 GB, free: 1.191 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008862/1.68, allocations: 3.428 MB / 0.5644 GB, free: 13.77 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000493/1.68, allocations: 267.3 kB / 0.5646 GB, free: 13.51 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003046/1.681, allocations: 155.6 kB / 0.5648 GB, free: 13.35 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/1.681, allocations: 99.64 kB / 0.5649 GB, free: 13.25 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/1.681, allocations: 123.5 kB / 0.565 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.022e-05/1.681, allocations: 24 kB / 0.565 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01256/1.694, allocations: 7.654 MB / 0.5725 GB, free: 5.441 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.828e-05/1.694, allocations: 55.77 kB / 0.5725 GB, free: 5.387 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/1.694, allocations: 127.3 kB / 0.5726 GB, free: 5.262 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006175/1.7, allocations: 3.399 MB / 0.576 GB, free: 1.855 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/1.7, allocations: 4 kB / 0.576 GB, free: 1.852 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.914e-06/1.7, allocations: 0 / 0.576 GB, free: 1.852 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.79e-05/1.7, allocations: 0 / 0.576 GB, free: 1.852 MB / 462.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.002284/1.702, allocations: 0.8111 MB / 0.5768 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/1.702, allocations: 8.031 kB / 0.5768 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.687e-05/1.703, allocations: 62.72 kB / 0.5768 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.375e-05/1.703, allocations: 32.56 kB / 0.5769 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/1.703, allocations: 235.8 kB / 0.5771 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/1.703, allocations: 16.94 kB / 0.5771 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/1.703, allocations: 24.38 kB / 0.5771 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005316/1.704, allocations: 291.8 kB / 0.5774 GB, free: 260 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/1.704, allocations: 3.938 kB / 0.5774 GB, free: 256 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/1.704, allocations: 15.98 kB / 0.5774 GB, free: 240 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/1.704, allocations: 8 kB / 0.5774 GB, free: 232 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004429/1.704, allocations: 193.5 kB / 0.5776 GB, free: 40 kB / 462.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.006169/1.71, allocations: 3.03 MB / 0.5806 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005417/1.711, allocations: 178.8 kB / 0.5807 GB, free: 12.6 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/1.711, allocations: 76.81 kB / 0.5808 GB, free: 12.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004347/1.715, allocations: 1.713 MB / 0.5825 GB, free: 10.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000327/1.716, allocations: 148.9 kB / 0.5826 GB, free: 10.53 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 2.515e-06/1.716, allocations: 0 / 0.5826 GB, free: 10.53 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007137/1.716, allocations: 264.9 kB / 0.5829 GB, free: 10.26 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/1.717, allocations: 110.8 kB / 0.583 GB, free: 10.13 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/1.717, allocations: 270.4 kB / 0.5832 GB, free: 9.855 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/1.717, allocations: 29.7 kB / 0.5833 GB, free: 9.82 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/1.717, allocations: 156.1 kB / 0.5834 GB, free: 9.664 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.984e-05/1.717, allocations: 55.28 kB / 0.5835 GB, free: 9.609 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/1.717, allocations: 57.59 kB / 0.5835 GB, free: 9.547 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/1.717, allocations: 334.8 kB / 0.5839 GB, free: 9.211 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/1.717, allocations: 72.19 kB / 0.5839 GB, free: 9.137 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/1.718, allocations: 111.3 kB / 0.584 GB, free: 9.004 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002659/1.72, allocations: 0.6245 MB / 0.5846 GB, free: 8.332 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.72, allocations: 4 kB / 0.5846 GB, free: 8.328 MB / 478.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005468/1.721, allocations: 282.2 kB / 0.5849 GB, free: 8.043 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/1.721, allocations: 37.69 kB / 0.5849 GB, free: 8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/1.721, allocations: 4 kB / 0.5849 GB, free: 7.996 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/1.721, allocations: 0 / 0.5849 GB, free: 7.996 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/1.722, allocations: 212 kB / 0.5851 GB, free: 7.789 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003497/1.723, allocations: 0.5859 MB / 0.5857 GB, free: 7.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/1.723, allocations: 43.58 kB / 0.5858 GB, free: 7.137 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/1.723, allocations: 12.09 kB / 0.5858 GB, free: 7.125 MB / 478.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.0002356/1.723, allocations: 181.6 kB / 0.5859 GB, free: 6.934 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/1.723, allocations: 23.72 kB / 0.586 GB, free: 6.91 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005494/1.724, allocations: 241.7 kB / 0.5862 GB, free: 6.664 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/1.724, allocations: 11.88 kB / 0.5862 GB, free: 6.652 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/1.724, allocations: 3.984 kB / 0.5862 GB, free: 6.648 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/1.724, allocations: 0 / 0.5862 GB, free: 6.648 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/1.724, allocations: 289.4 kB / 0.5865 GB, free: 6.316 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.724, allocations: 0 / 0.5865 GB, free: 6.316 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/1.726, allocations: 199.8 kB / 0.5867 GB, free: 6.121 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/1.726, allocations: 7.938 kB / 0.5867 GB, free: 6.113 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/1.726, allocations: 4 kB / 0.5867 GB, free: 6.109 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002722/1.726, allocations: 0.5821 MB / 0.5873 GB, free: 5.504 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.726, allocations: 3.938 kB / 0.5873 GB, free: 5.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004567/1.727, allocations: 266.4 kB / 0.5875 GB, free: 5.215 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/1.727, allocations: 112.8 kB / 0.5876 GB, free: 5.086 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/1.727, allocations: 3.984 kB / 0.5876 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/1.727, allocations: 11.98 kB / 0.5876 GB, free: 5.07 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/1.727, allocations: 23.91 kB / 0.5877 GB, free: 5.047 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/1.727, allocations: 12 kB / 0.5877 GB, free: 5.035 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001604/1.727, allocations: 186 kB / 0.5879 GB, free: 4.855 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.727, allocations: 0 / 0.5879 GB, free: 4.855 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001096/1.728, allocations: 395.8 kB / 0.5882 GB, free: 4.469 MB / 478.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.002431/1.731, allocations: 1.193 MB / 0.5894 GB, free: 3.246 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01027/1.741, allocations: 0.8934 MB / 0.5903 GB, free: 2.34 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.741, allocations: 0 / 0.5903 GB, free: 2.34 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009003/1.75, allocations: 0.6625 MB / 0.5909 GB, free: 1.664 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/1.75, allocations: 39.64 kB / 0.591 GB, free: 1.629 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004205/1.755, allocations: 2.608 MB / 0.5935 GB, free: 14.89 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/1.755, allocations: 0.7441 MB / 0.5942 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001123/1.755, allocations: 29.81 kB / 0.5943 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/1.755, allocations: 71.42 kB / 0.5943 GB, free: 14.02 MB / 494.1 MB Notification: Performance of SimCode: time 1.412e-06/1.755, allocations: 0 / 0.5943 GB, free: 14.02 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03938/1.795, allocations: 16.27 MB / 0.6102 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/12.84, allocations: 15.98 kB / 0.6102 GB, free: 13.93 MB / 0.4981 GB (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)