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.8515/0.8515, allocations: 153.8 MB / 172.7 MB, free: 4.957 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.0005154/0.0005154, allocations: 15.98 kB / 249.8 MB, free: 4.477 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1753, allocations: 33.37 MB / 283.2 MB, free: 1.848 MB / 222.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.793/1.969, allocations: 307.2 MB / 0.5766 GB, free: 16.06 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01324/1.982, allocations: 12.18 MB / 0.5885 GB, free: 13.63 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002581/1.982, allocations: 7.406 kB / 0.5885 GB, free: 13.63 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.0001254/1.982, allocations: 29.61 kB / 0.5885 GB, free: 13.63 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001811/1.983, allocations: 67.3 kB / 0.5885 GB, free: 13.61 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008845/1.991, allocations: 3.491 MB / 0.592 GB, free: 12.75 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004648/1.992, allocations: 255.7 kB / 0.5922 GB, free: 12.68 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/1.992, allocations: 128.9 kB / 0.5923 GB, free: 12.62 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/1.992, allocations: 109.4 kB / 0.5924 GB, free: 12.57 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/1.992, allocations: 117.7 kB / 0.5925 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/1.992, allocations: 24.12 kB / 0.5926 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01441/2.007, allocations: 7.676 MB / 0.6001 GB, free: 10.26 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/2.007, allocations: 54.56 kB / 0.6001 GB, free: 10.21 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001916/2.007, allocations: 129.1 kB / 0.6002 GB, free: 10.12 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008721/2.016, allocations: 3.408 MB / 0.6036 GB, free: 7.816 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/2.016, allocations: 0.9688 kB / 0.6036 GB, free: 7.816 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.345e-06/2.016, allocations: 0.6562 kB / 0.6036 GB, free: 7.816 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/2.016, allocations: 0 / 0.6036 GB, free: 7.816 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002867/2.019, allocations: 0.7592 MB / 0.6043 GB, free: 7.246 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/2.019, allocations: 9.594 kB / 0.6043 GB, free: 7.246 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.329e-05/2.019, allocations: 66.47 kB / 0.6044 GB, free: 7.184 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.691e-05/2.019, allocations: 31.19 kB / 0.6044 GB, free: 7.168 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/2.019, allocations: 179.5 kB / 0.6046 GB, free: 6.992 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/2.019, allocations: 14.5 kB / 0.6046 GB, free: 6.988 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/2.019, allocations: 24.88 kB / 0.6046 GB, free: 6.98 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/2.02, allocations: 287 kB / 0.6049 GB, free: 6.777 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/2.02, allocations: 2.781 kB / 0.6049 GB, free: 6.777 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/2.02, allocations: 12.16 kB / 0.6049 GB, free: 6.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/2.02, allocations: 6.875 kB / 0.6049 GB, free: 6.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003756/2.02, allocations: 191.7 kB / 0.6051 GB, free: 6.688 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.005633/2.026, allocations: 2.559 MB / 0.6076 GB, free: 5.059 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004794/2.026, allocations: 176.6 kB / 0.6078 GB, free: 4.973 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/2.026, allocations: 68.27 kB / 0.6078 GB, free: 4.938 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004104/2.03, allocations: 1.291 MB / 0.6091 GB, free: 3.984 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002816/2.031, allocations: 141 kB / 0.6092 GB, free: 3.828 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 2.295e-06/2.031, allocations: 0 / 0.6092 GB, free: 3.828 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006089/2.031, allocations: 284.5 kB / 0.6095 GB, free: 3.543 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/2.031, allocations: 106.8 kB / 0.6096 GB, free: 3.414 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/2.031, allocations: 262.4 kB / 0.6098 GB, free: 3.148 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/2.032, allocations: 29.7 kB / 0.6099 GB, free: 3.113 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/2.032, allocations: 168.2 kB / 0.61 GB, free: 2.945 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/2.032, allocations: 55.52 kB / 0.6101 GB, free: 2.891 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.383e-05/2.032, allocations: 57.7 kB / 0.6101 GB, free: 2.828 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.083e-05/2.032, allocations: 334.8 kB / 0.6105 GB, free: 2.492 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/2.032, allocations: 65.41 kB / 0.6105 GB, free: 2.426 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/2.032, allocations: 120.3 kB / 0.6106 GB, free: 2.285 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002286/2.034, allocations: 0.6268 MB / 0.6113 GB, free: 1.625 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/2.034, allocations: 0 / 0.6113 GB, free: 1.625 MB / 478.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004478/2.035, allocations: 277.4 kB / 0.6115 GB, free: 1.352 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/2.035, allocations: 37.69 kB / 0.6116 GB, free: 1.309 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/2.035, allocations: 0 / 0.6116 GB, free: 1.309 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/2.035, allocations: 4 kB / 0.6116 GB, free: 1.305 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/2.036, allocations: 216.7 kB / 0.6118 GB, free: 1.098 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002125/2.036, allocations: 0.5896 MB / 0.6123 GB, free: 500 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/2.037, allocations: 43.75 kB / 0.6124 GB, free: 456 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/2.037, allocations: 9.969 kB / 0.6124 GB, free: 448 kB / 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.0001761/2.037, allocations: 168.1 kB / 0.6126 GB, free: 264 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/2.037, allocations: 27.05 kB / 0.6126 GB, free: 240 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000468/2.037, allocations: 248.7 kB / 0.6128 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/2.037, allocations: 7.938 kB / 0.6128 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/2.037, allocations: 0.5625 kB / 0.6128 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/2.037, allocations: 0 / 0.6128 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/2.038, allocations: 264.5 kB / 0.6131 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/2.038, allocations: 0 / 0.6131 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/2.039, allocations: 200.3 kB / 0.6133 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/2.039, allocations: 2.625 kB / 0.6133 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/2.039, allocations: 4 kB / 0.6133 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003458/2.039, allocations: 0.5899 MB / 0.6138 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/2.039, allocations: 0 / 0.6138 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004767/2.04, allocations: 258 kB / 0.6141 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.78e-05/2.04, allocations: 44.28 kB / 0.6141 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/2.04, allocations: 4 kB / 0.6141 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/2.04, allocations: 17.58 kB / 0.6142 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/2.04, allocations: 19.97 kB / 0.6142 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/2.04, allocations: 4.688 kB / 0.6142 GB, free: 14.51 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001848/2.04, allocations: 181.2 kB / 0.6144 GB, free: 14.33 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/2.04, allocations: 3.938 kB / 0.6144 GB, free: 14.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001485/2.042, allocations: 407.4 kB / 0.6147 GB, free: 13.93 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.002844/2.045, allocations: 1.198 MB / 0.6159 GB, free: 12.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01054/2.055, allocations: 0.8904 MB / 0.6168 GB, free: 11.81 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/2.055, allocations: 0 / 0.6168 GB, free: 11.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009093/2.064, allocations: 0.6469 MB / 0.6174 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/2.065, allocations: 36.58 kB / 0.6175 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005487/2.07, allocations: 2.621 MB / 0.62 GB, free: 8.395 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/2.071, allocations: 0.744 MB / 0.6207 GB, free: 7.625 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001101/2.071, allocations: 18.98 kB / 0.6208 GB, free: 7.609 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/2.071, allocations: 83.41 kB / 0.6208 GB, free: 7.527 MB / 494.1 MB Notification: Performance of SimCode: time 1.083e-06/2.071, allocations: 0 / 0.6208 GB, free: 7.527 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05016/2.121, allocations: 16.46 MB / 0.6369 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/14.3, allocations: 14.44 kB / 0.6369 GB, free: 7.688 MB / 0.4981 GB " [Timeout remaining time 645] (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.701129390999995] Failed to read output from testmodel.py, exit status != 0: 14.60633728599987 14.622086529 12.603031889 Calling exit ...