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.8156/0.8156, allocations: 153.8 MB / 172.7 MB, free: 4.859 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.0007043/0.0007043, allocations: 11.98 kB / 249.8 MB, free: 4.367 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1741, allocations: 33.36 MB / 283.2 MB, free: 1.719 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.838/2.012, allocations: 307.3 MB / 0.5766 GB, free: 17.52 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01287/2.025, allocations: 11.01 MB / 0.5874 GB, free: 15.57 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/2.025, allocations: 3.188 kB / 0.5874 GB, free: 15.57 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.0001337/2.025, allocations: 32.42 kB / 0.5874 GB, free: 15.55 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/2.025, allocations: 57.92 kB / 0.5875 GB, free: 15.51 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007752/2.033, allocations: 3.428 MB / 0.5908 GB, free: 14.4 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004136/2.033, allocations: 270 kB / 0.5911 GB, free: 14.27 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/2.034, allocations: 117.4 kB / 0.5912 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/2.034, allocations: 103.3 kB / 0.5913 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/2.034, allocations: 109.2 kB / 0.5914 GB, free: 14.11 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.708e-05/2.034, allocations: 23.78 kB / 0.5914 GB, free: 14.11 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01247/2.046, allocations: 7.285 MB / 0.5985 GB, free: 12.14 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.414e-05/2.046, allocations: 59.8 kB / 0.5986 GB, free: 12.09 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/2.047, allocations: 101.6 kB / 0.5987 GB, free: 12.03 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006986/2.054, allocations: 3.421 MB / 0.602 GB, free: 9.715 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/2.054, allocations: 0 / 0.602 GB, free: 9.715 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.104e-06/2.054, allocations: 0.5938 kB / 0.602 GB, free: 9.715 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/2.054, allocations: 3.984 kB / 0.602 GB, free: 9.711 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.00281/2.056, allocations: 0.7541 MB / 0.6027 GB, free: 9.145 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/2.056, allocations: 10.25 kB / 0.6028 GB, free: 9.145 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.987e-05/2.057, allocations: 59.97 kB / 0.6028 GB, free: 9.086 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.389e-05/2.057, allocations: 33.5 kB / 0.6028 GB, free: 9.07 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/2.057, allocations: 170.9 kB / 0.603 GB, free: 8.898 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/2.057, allocations: 18.5 kB / 0.603 GB, free: 8.891 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/2.057, allocations: 25 kB / 0.603 GB, free: 8.883 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004416/2.057, allocations: 318.7 kB / 0.6034 GB, free: 8.641 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/2.057, allocations: 1.562 kB / 0.6034 GB, free: 8.641 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/2.057, allocations: 12.12 kB / 0.6034 GB, free: 8.633 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/2.057, allocations: 5.5 kB / 0.6034 GB, free: 8.633 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004125/2.058, allocations: 214.9 kB / 0.6036 GB, free: 8.516 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.005929/2.064, allocations: 2.37 MB / 0.6059 GB, free: 7.102 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000508/2.064, allocations: 209.9 kB / 0.6061 GB, free: 6.969 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/2.064, allocations: 93.34 kB / 0.6062 GB, free: 6.902 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004218/2.069, allocations: 1.287 MB / 0.6074 GB, free: 5.715 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002753/2.069, allocations: 175.7 kB / 0.6076 GB, free: 5.52 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 2.705e-06/2.069, allocations: 0 / 0.6076 GB, free: 5.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006432/2.069, allocations: 330.4 kB / 0.6079 GB, free: 5.172 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/2.07, allocations: 111.6 kB / 0.608 GB, free: 5.039 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/2.07, allocations: 265.8 kB / 0.6083 GB, free: 4.773 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/2.07, allocations: 29.7 kB / 0.6083 GB, free: 4.738 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.094e-05/2.07, allocations: 160.3 kB / 0.6085 GB, free: 4.578 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/2.07, allocations: 59.52 kB / 0.6085 GB, free: 4.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-05/2.07, allocations: 55.62 kB / 0.6086 GB, free: 4.461 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.193e-05/2.07, allocations: 342.8 kB / 0.6089 GB, free: 4.117 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/2.07, allocations: 85.89 kB / 0.609 GB, free: 4.023 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/2.07, allocations: 145.9 kB / 0.6091 GB, free: 3.852 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002345/2.073, allocations: 0.631 MB / 0.6097 GB, free: 3.18 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/2.073, allocations: 0 / 0.6097 GB, free: 3.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004535/2.073, allocations: 316.6 kB / 0.61 GB, free: 2.852 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/2.073, allocations: 30.86 kB / 0.6101 GB, free: 2.816 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/2.073, allocations: 8 kB / 0.6101 GB, free: 2.809 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/2.073, allocations: 4.75 kB / 0.6101 GB, free: 2.805 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/2.074, allocations: 207.7 kB / 0.6103 GB, free: 2.602 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000206/2.075, allocations: 0.5952 MB / 0.6109 GB, free: 1.984 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/2.075, allocations: 36.27 kB / 0.6109 GB, free: 1.949 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/2.075, allocations: 12 kB / 0.6109 GB, free: 1.938 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.0001832/2.075, allocations: 178.5 kB / 0.6111 GB, free: 1.75 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/2.075, allocations: 27.81 kB / 0.6111 GB, free: 1.723 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004386/2.076, allocations: 278.9 kB / 0.6114 GB, free: 1.438 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/2.076, allocations: 7.938 kB / 0.6114 GB, free: 1.43 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/2.076, allocations: 0 / 0.6114 GB, free: 1.43 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/2.076, allocations: 3.984 kB / 0.6114 GB, free: 1.426 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/2.076, allocations: 232.7 kB / 0.6116 GB, free: 1.156 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/2.076, allocations: 0 / 0.6116 GB, free: 1.156 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/2.077, allocations: 202.5 kB / 0.6118 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/2.077, allocations: 0 / 0.6118 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/2.077, allocations: 8 kB / 0.6118 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001605/2.077, allocations: 0.5905 MB / 0.6124 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/2.077, allocations: 4.094 kB / 0.6124 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/2.078, allocations: 284.3 kB / 0.6127 GB, free: 28 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/2.078, allocations: 39.77 kB / 0.6127 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/2.078, allocations: 9 kB / 0.6127 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/2.078, allocations: 11.98 kB / 0.6127 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/2.078, allocations: 11.98 kB / 0.6127 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/2.078, allocations: 7.984 kB / 0.6127 GB, free: 15.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001941/2.078, allocations: 186.2 kB / 0.6129 GB, free: 15.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/2.078, allocations: 7.938 kB / 0.6129 GB, free: 15.76 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001508/2.08, allocations: 403.4 kB / 0.6133 GB, free: 15.36 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.00274/2.082, allocations: 1.233 MB / 0.6145 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01076/2.093, allocations: 0.9377 MB / 0.6154 GB, free: 13.13 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/2.093, allocations: 0 / 0.6154 GB, free: 13.13 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009413/2.103, allocations: 0.6795 MB / 0.6161 GB, free: 12.44 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/2.103, allocations: 35.89 kB / 0.6161 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004821/2.108, allocations: 2.775 MB / 0.6188 GB, free: 9.477 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/2.108, allocations: 134.2 kB / 0.619 GB, free: 9.328 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001124/2.108, allocations: 23.5 kB / 0.619 GB, free: 9.309 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/2.108, allocations: 75.41 kB / 0.619 GB, free: 9.234 MB / 494.1 MB Notification: Performance of SimCode: time 1.152e-06/2.108, allocations: 0 / 0.619 GB, free: 9.234 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05063/2.159, allocations: 16.98 MB / 0.6356 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/14.7, allocations: 9.875 kB / 0.6356 GB, free: 8.898 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: 17.045665619894862] Failed to read output from testmodel.py, exit status != 0: 15.010755826253444 15.023944329 12.967316469 Calling exit ...