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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.9127/0.9127, allocations: 153.8 MB / 170.2 MB, free: 13.82 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0006697/0.0006697, allocations: 17.62 kB / 246.3 MB, free: 14.94 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0733/0.07397, allocations: 33.34 MB / 279.7 MB, free: 15.16 MB / 238.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution): time 1.751/1.825, allocations: 307 MB / 0.5729 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01795/1.843, allocations: 12.17 MB / 0.5848 GB, free: 14.71 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/1.844, allocations: 0 / 0.5848 GB, free: 14.71 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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.0001651/1.844, allocations: 35.66 kB / 0.5848 GB, free: 14.68 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002566/1.844, allocations: 63.36 kB / 0.5849 GB, free: 14.62 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009591/1.854, allocations: 3.478 MB / 0.5883 GB, free: 11.15 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000495/1.854, allocations: 267.3 kB / 0.5885 GB, free: 10.89 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000246/1.854, allocations: 123.6 kB / 0.5887 GB, free: 10.76 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/1.855, allocations: 111.6 kB / 0.5888 GB, free: 10.65 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/1.855, allocations: 115.5 kB / 0.5889 GB, free: 10.54 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/1.855, allocations: 24 kB / 0.5889 GB, free: 10.52 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01283/1.868, allocations: 7.674 MB / 0.5964 GB, free: 2.832 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/1.868, allocations: 55.77 kB / 0.5964 GB, free: 2.777 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001958/1.868, allocations: 131.3 kB / 0.5966 GB, free: 2.648 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007073/1.875, allocations: 3.403 MB / 0.5999 GB, free: 15.24 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.875, allocations: 0 / 0.5999 GB, free: 15.24 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.873e-06/1.875, allocations: 0 / 0.5999 GB, free: 15.24 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/1.875, allocations: 0 / 0.5999 GB, free: 15.24 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002353/1.877, allocations: 0.8318 MB / 0.6007 GB, free: 14.35 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.877, allocations: 8.031 kB / 0.6007 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.27e-05/1.877, allocations: 58.73 kB / 0.6008 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.095e-05/1.878, allocations: 32.73 kB / 0.6008 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/1.878, allocations: 243.8 kB / 0.601 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/1.878, allocations: 16.94 kB / 0.601 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.053e-05/1.878, allocations: 28.36 kB / 0.6011 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005508/1.878, allocations: 287.8 kB / 0.6014 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/1.878, allocations: 7.938 kB / 0.6014 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/1.878, allocations: 8 kB / 0.6014 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/1.878, allocations: 11.94 kB / 0.6014 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004472/1.879, allocations: 177.6 kB / 0.6015 GB, free: 13.41 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.006905/1.886, allocations: 3.042 MB / 0.6045 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000537/1.886, allocations: 170.8 kB / 0.6047 GB, free: 9.969 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/1.887, allocations: 68.83 kB / 0.6047 GB, free: 9.898 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004829/1.891, allocations: 1.714 MB / 0.6064 GB, free: 8.074 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003154/1.892, allocations: 141 kB / 0.6066 GB, free: 7.918 MB / 494.1 MB Notification: Performance of pre-optimization done (n=17): time 2.444e-06/1.892, allocations: 0 / 0.6066 GB, free: 7.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007281/1.892, allocations: 267.1 kB / 0.6068 GB, free: 7.645 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.44e-05/1.892, allocations: 114.8 kB / 0.6069 GB, free: 7.508 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/1.893, allocations: 266.5 kB / 0.6072 GB, free: 7.238 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/1.893, allocations: 33.64 kB / 0.6072 GB, free: 7.199 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/1.893, allocations: 156.4 kB / 0.6074 GB, free: 7.043 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.08e-05/1.893, allocations: 55.52 kB / 0.6074 GB, free: 6.988 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.746e-05/1.893, allocations: 61.64 kB / 0.6075 GB, free: 6.922 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/1.893, allocations: 334.8 kB / 0.6078 GB, free: 6.586 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/1.893, allocations: 64.2 kB / 0.6078 GB, free: 6.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/1.894, allocations: 123.2 kB / 0.608 GB, free: 6.375 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00279/1.896, allocations: 0.6254 MB / 0.6086 GB, free: 5.703 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.896, allocations: 0 / 0.6086 GB, free: 5.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006036/1.897, allocations: 283 kB / 0.6088 GB, free: 5.414 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/1.897, allocations: 33.7 kB / 0.6089 GB, free: 5.375 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/1.897, allocations: 0 / 0.6089 GB, free: 5.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/1.897, allocations: 4 kB / 0.6089 GB, free: 5.371 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/1.899, allocations: 219.9 kB / 0.6091 GB, free: 5.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004119/1.899, allocations: 0.5898 MB / 0.6097 GB, free: 4.543 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/1.899, allocations: 39.8 kB / 0.6097 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/1.899, allocations: 8 kB / 0.6097 GB, free: 4.496 MB / 494.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.0002393/1.9, allocations: 177.8 kB / 0.6099 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/1.9, allocations: 27.81 kB / 0.6099 GB, free: 4.281 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006106/1.9, allocations: 248.6 kB / 0.6101 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/1.9, allocations: 11.94 kB / 0.6102 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/1.9, allocations: 0 / 0.6102 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.9, allocations: 0 / 0.6102 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003475/1.901, allocations: 289.5 kB / 0.6104 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/1.901, allocations: 3.938 kB / 0.6104 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/1.902, allocations: 195.7 kB / 0.6106 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/1.902, allocations: 0 / 0.6106 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/1.902, allocations: 7.984 kB / 0.6106 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003664/1.902, allocations: 0.5898 MB / 0.6112 GB, free: 2.875 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.902, allocations: 3.984 kB / 0.6112 GB, free: 2.871 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000514/1.903, allocations: 258.6 kB / 0.6115 GB, free: 2.594 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/1.903, allocations: 120.9 kB / 0.6116 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/1.903, allocations: 4 kB / 0.6116 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/1.903, allocations: 11.98 kB / 0.6116 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/1.903, allocations: 19.97 kB / 0.6116 GB, free: 2.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/1.903, allocations: 4 kB / 0.6116 GB, free: 2.418 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001862/1.904, allocations: 189.9 kB / 0.6118 GB, free: 2.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/1.904, allocations: 0 / 0.6118 GB, free: 2.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0012/1.905, allocations: 407.4 kB / 0.6122 GB, free: 1.832 MB / 494.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.00243/1.907, allocations: 1.207 MB / 0.6134 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01107/1.918, allocations: 0.8856 MB / 0.6142 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.918, allocations: 0 / 0.6142 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.009642/1.928, allocations: 0.6472 MB / 0.6149 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/1.928, allocations: 32.55 kB / 0.6149 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004866/1.933, allocations: 2.623 MB / 0.6174 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/1.933, allocations: 0.7363 MB / 0.6182 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001111/1.934, allocations: 25.94 kB / 0.6182 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/1.934, allocations: 71.42 kB / 0.6183 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of SimCode: time 8.91e-07/1.934, allocations: 4 kB / 0.6183 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04947/1.983, allocations: 16.35 MB / 0.6342 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/13.81, allocations: 12.48 kB / 0.6342 GB, free: 11.21 MB / 0.5137 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPumpWaterSolution.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.45586322399322] Failed to read output from testmodel.py, exit status != 0: 14.302403032008442 14.311152704 12.433972512 Calling exit ...