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.5602/0.5602, allocations: 120.4 MB / 139.5 MB, free: 12.99 MB / 138.7 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 2.615e-06/2.615e-06, allocations: 0 / 216.7 MB, free: 8.578 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/2.042e-05, allocations: 2.281 kB / 216.7 MB, free: 8.574 MB / 202.7 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 0.9892/0.9893, allocations: 254 MB / 470.7 MB, free: 9.047 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009982/0.9992, allocations: 11.01 MB / 481.8 MB, free: 13.99 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.9993, allocations: 7.938 kB / 481.8 MB, free: 13.98 MB / 442.7 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 9.413e-05/0.9994, allocations: 35.66 kB / 481.8 MB, free: 13.95 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.9996, allocations: 67.3 kB / 481.9 MB, free: 13.88 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005534/1.005, allocations: 3.443 MB / 485.3 MB, free: 10.43 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002624/1.005, allocations: 271.2 kB / 485.6 MB, free: 10.16 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/1.006, allocations: 124 kB / 485.7 MB, free: 10.04 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/1.006, allocations: 167.6 kB / 485.9 MB, free: 9.871 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.339e-05/1.006, allocations: 79.78 kB / 485.9 MB, free: 9.793 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/1.006, allocations: 24 kB / 486 MB, free: 9.77 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006625/1.012, allocations: 7.295 MB / 493.3 MB, free: 2.465 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/1.012, allocations: 55.81 kB / 493.3 MB, free: 2.41 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.311e-05/1.013, allocations: 95.7 kB / 493.4 MB, free: 2.316 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2365/1.249, allocations: 4.475 MB / 497.9 MB, free: 9.918 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/1.249, allocations: 0.7031 kB / 497.9 MB, free: 9.918 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.963e-06/1.249, allocations: 1.469 kB / 497.9 MB, free: 9.918 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/1.249, allocations: 0 / 497.9 MB, free: 9.918 MB / 442.7 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.002652/1.252, allocations: 0.7466 MB / 498.6 MB, free: 9.453 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/1.252, allocations: 10 kB / 498.6 MB, free: 9.453 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.773e-05/1.252, allocations: 60.33 kB / 498.7 MB, free: 9.414 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.147e-05/1.252, allocations: 31.19 kB / 498.7 MB, free: 9.398 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/1.252, allocations: 178.5 kB / 498.9 MB, free: 9.254 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/1.252, allocations: 20 kB / 498.9 MB, free: 9.254 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/1.252, allocations: 24.88 kB / 498.9 MB, free: 9.254 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/1.253, allocations: 317.7 kB / 499.2 MB, free: 9.133 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/1.253, allocations: 192 / 499.3 MB, free: 9.133 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/1.253, allocations: 13.62 kB / 499.3 MB, free: 9.133 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/1.253, allocations: 10.59 kB / 499.3 MB, free: 9.129 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/1.253, allocations: 213.2 kB / 499.5 MB, free: 9.094 MB / 442.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.003744/1.257, allocations: 2.358 MB / 0.4901 GB, free: 8.316 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/1.257, allocations: 200.8 kB / 0.4903 GB, free: 8.258 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/1.257, allocations: 94.81 kB / 0.4904 GB, free: 8.219 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002411/1.26, allocations: 1.295 MB / 0.4916 GB, free: 8.211 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/1.26, allocations: 172.6 kB / 0.4918 GB, free: 8.102 MB / 442.7 MB Notification: Performance of pre-optimization done (n=17): time 1.923e-06/1.26, allocations: 0.5312 kB / 0.4918 GB, free: 8.102 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.000489/1.26, allocations: 326.1 kB / 0.4921 GB, free: 7.961 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/1.26, allocations: 112.5 kB / 0.4922 GB, free: 7.836 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/1.26, allocations: 271.1 kB / 0.4925 GB, free: 7.723 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/1.261, allocations: 27.14 kB / 0.4925 GB, free: 7.691 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.05e-05/1.261, allocations: 160 kB / 0.4926 GB, free: 7.586 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/1.261, allocations: 56.52 kB / 0.4927 GB, free: 7.551 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-05/1.261, allocations: 55.36 kB / 0.4928 GB, free: 7.531 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.356e-05/1.261, allocations: 335.6 kB / 0.4931 GB, free: 7.219 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/1.261, allocations: 89.81 kB / 0.4932 GB, free: 7.184 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/1.261, allocations: 151.5 kB / 0.4933 GB, free: 7.086 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/1.262, allocations: 0.626 MB / 0.4939 GB, free: 6.895 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.262, allocations: 5.375 kB / 0.4939 GB, free: 6.895 MB / 442.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003484/1.263, allocations: 311.9 kB / 0.4942 GB, free: 6.781 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/1.263, allocations: 36.36 kB / 0.4943 GB, free: 6.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.263, allocations: 4.188 kB / 0.4943 GB, free: 6.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/1.263, allocations: 2.75 kB / 0.4943 GB, free: 6.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/1.264, allocations: 217.8 kB / 0.4945 GB, free: 6.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001708/1.264, allocations: 0.5862 MB / 0.495 GB, free: 6.168 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/1.264, allocations: 38 kB / 0.4951 GB, free: 6.152 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/1.264, allocations: 12.84 kB / 0.4951 GB, free: 6.148 MB / 442.7 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.0001593/1.264, allocations: 175.3 kB / 0.4953 GB, free: 6.004 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/1.264, allocations: 28.19 kB / 0.4953 GB, free: 5.988 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003421/1.264, allocations: 273.1 kB / 0.4955 GB, free: 5.883 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/1.264, allocations: 2.719 kB / 0.4955 GB, free: 5.883 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.264, allocations: 2.125 kB / 0.4955 GB, free: 5.883 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.264, allocations: 1.438 kB / 0.4955 GB, free: 5.883 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/1.265, allocations: 232.1 kB / 0.4958 GB, free: 5.727 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.265, allocations: 1.375 kB / 0.4958 GB, free: 5.727 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006556/1.265, allocations: 201 kB / 0.496 GB, free: 5.727 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/1.265, allocations: 5.875 kB / 0.496 GB, free: 5.727 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/1.265, allocations: 5.969 kB / 0.496 GB, free: 5.727 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001275/1.265, allocations: 0.5894 MB / 0.4965 GB, free: 5.137 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.265, allocations: 1.953 kB / 0.4965 GB, free: 5.137 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/1.266, allocations: 287.6 kB / 0.4968 GB, free: 4.996 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/1.266, allocations: 43.41 kB / 0.4969 GB, free: 4.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/1.266, allocations: 9.219 kB / 0.4969 GB, free: 4.977 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.926e-05/1.266, allocations: 13.81 kB / 0.4969 GB, free: 4.977 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/1.266, allocations: 19.11 kB / 0.4969 GB, free: 4.977 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/1.266, allocations: 4.031 kB / 0.4969 GB, free: 4.977 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001098/1.266, allocations: 186.3 kB / 0.4971 GB, free: 4.898 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/1.266, allocations: 1.031 kB / 0.4971 GB, free: 4.898 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001043/1.267, allocations: 406.8 kB / 0.4975 GB, free: 4.859 MB / 442.7 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.001468/1.269, allocations: 1.278 MB / 0.4987 GB, free: 4.168 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004251/1.273, allocations: 0.9434 MB / 0.4996 GB, free: 4.008 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.273, allocations: 3.438 kB / 0.4996 GB, free: 4.008 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00363/1.276, allocations: 0.6796 MB / 0.5003 GB, free: 3.883 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/1.277, allocations: 42.86 kB / 0.5004 GB, free: 3.879 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/1.279, allocations: 2.756 MB / 0.503 GB, free: 2.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/1.279, allocations: 137.4 kB / 0.5032 GB, free: 18.19 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.933e-05/1.279, allocations: 23.69 kB / 0.5032 GB, free: 18.19 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.938e-05/1.279, allocations: 77.28 kB / 0.5033 GB, free: 18.13 MB / 458.7 MB Notification: Performance of SimCode: time 5.81e-07/1.279, allocations: 0 / 0.5033 GB, free: 18.13 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/1.307, allocations: 17.18 MB / 0.52 GB, free: 4.785 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.714/10.02, allocations: 7.359 kB / 0.5201 GB, free: 4.781 MB / 458.7 MB " [Timeout remaining time 650] (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: 12.333065565675497] Failed to read output from testmodel.py, exit status != 0: 10.380985829979181 10.289175009 9.038262097 Calling exit ...