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.8364/0.8364, allocations: 153.8 MB / 172.7 MB, free: 5.012 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.0005152/0.0005152, allocations: 15.97 kB / 249.8 MB, free: 4.375 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1714, allocations: 33.34 MB / 283.1 MB, free: 1.75 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.805/1.976, allocations: 307.3 MB / 0.5766 GB, free: 17.28 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01168/1.988, allocations: 11.01 MB / 0.5874 GB, free: 15.33 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/1.988, allocations: 3.625 kB / 0.5874 GB, free: 15.33 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.0001111/1.988, allocations: 31.75 kB / 0.5874 GB, free: 15.31 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/1.989, allocations: 57.55 kB / 0.5875 GB, free: 15.27 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006555/1.995, allocations: 3.43 MB / 0.5908 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002679/1.995, allocations: 259.1 kB / 0.591 GB, free: 14.02 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/1.996, allocations: 125.6 kB / 0.5912 GB, free: 13.96 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/1.996, allocations: 109.2 kB / 0.5913 GB, free: 13.91 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/1.996, allocations: 100.7 kB / 0.5914 GB, free: 13.87 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/1.996, allocations: 26.25 kB / 0.5914 GB, free: 13.87 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01088/2.007, allocations: 7.289 MB / 0.5985 GB, free: 11.94 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.196e-05/2.007, allocations: 54.47 kB / 0.5986 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/2.007, allocations: 106.6 kB / 0.5987 GB, free: 11.83 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004331/2.011, allocations: 3.415 MB / 0.602 GB, free: 9.52 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/2.011, allocations: 1.406 kB / 0.602 GB, free: 9.52 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.743e-06/2.011, allocations: 0.8125 kB / 0.602 GB, free: 9.52 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/2.011, allocations: 0 / 0.602 GB, free: 9.52 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.001692/2.013, allocations: 0.7553 MB / 0.6027 GB, free: 8.953 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/2.013, allocations: 10.31 kB / 0.6027 GB, free: 8.953 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.589e-05/2.013, allocations: 64.97 kB / 0.6028 GB, free: 8.891 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.004e-05/2.013, allocations: 31.94 kB / 0.6028 GB, free: 8.875 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/2.013, allocations: 178.3 kB / 0.603 GB, free: 8.695 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/2.013, allocations: 21.09 kB / 0.603 GB, free: 8.688 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/2.013, allocations: 25.05 kB / 0.6031 GB, free: 8.68 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004542/2.014, allocations: 314.3 kB / 0.6034 GB, free: 8.441 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/2.014, allocations: 2.469 kB / 0.6034 GB, free: 8.441 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/2.014, allocations: 21.27 kB / 0.6034 GB, free: 8.426 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/2.014, allocations: 5.562 kB / 0.6034 GB, free: 8.426 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003944/2.014, allocations: 209.5 kB / 0.6036 GB, free: 8.312 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.005428/2.02, allocations: 2.364 MB / 0.6059 GB, free: 6.902 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004956/2.02, allocations: 206.3 kB / 0.6061 GB, free: 6.773 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/2.02, allocations: 93.14 kB / 0.6062 GB, free: 6.707 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003977/2.024, allocations: 1.283 MB / 0.6074 GB, free: 5.598 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002442/2.025, allocations: 180.2 kB / 0.6076 GB, free: 5.398 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.863e-06/2.025, allocations: 0 / 0.6076 GB, free: 5.398 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005996/2.025, allocations: 330.4 kB / 0.6079 GB, free: 5.051 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/2.025, allocations: 106.8 kB / 0.608 GB, free: 4.922 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/2.025, allocations: 273.8 kB / 0.6083 GB, free: 4.648 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/2.025, allocations: 29.7 kB / 0.6083 GB, free: 4.613 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/2.025, allocations: 160.3 kB / 0.6085 GB, free: 4.453 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/2.025, allocations: 55.53 kB / 0.6085 GB, free: 4.398 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.497e-05/2.026, allocations: 60.64 kB / 0.6086 GB, free: 4.336 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.621e-05/2.026, allocations: 334.8 kB / 0.6089 GB, free: 4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/2.026, allocations: 89.91 kB / 0.609 GB, free: 3.902 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/2.026, allocations: 149 kB / 0.6091 GB, free: 3.727 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002255/2.028, allocations: 0.6259 MB / 0.6097 GB, free: 3.055 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/2.028, allocations: 0 / 0.6097 GB, free: 3.055 MB / 478.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004233/2.029, allocations: 317.4 kB / 0.61 GB, free: 2.727 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/2.029, allocations: 35.11 kB / 0.6101 GB, free: 2.688 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/2.029, allocations: 3.984 kB / 0.6101 GB, free: 2.684 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/2.029, allocations: 4 kB / 0.6101 GB, free: 2.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/2.03, allocations: 214.5 kB / 0.6103 GB, free: 2.473 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002034/2.03, allocations: 0.5907 MB / 0.6109 GB, free: 1.859 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/2.03, allocations: 35.77 kB / 0.6109 GB, free: 1.824 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/2.03, allocations: 12.69 kB / 0.6109 GB, free: 1.812 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.0001418/2.03, allocations: 173.4 kB / 0.6111 GB, free: 1.629 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/2.031, allocations: 27.81 kB / 0.6111 GB, free: 1.602 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000431/2.031, allocations: 280.9 kB / 0.6114 GB, free: 1.312 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/2.031, allocations: 11.88 kB / 0.6114 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/2.031, allocations: 0 / 0.6114 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/2.031, allocations: 1.125 kB / 0.6114 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/2.031, allocations: 228.7 kB / 0.6116 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/2.031, allocations: 0 / 0.6116 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/2.032, allocations: 201.3 kB / 0.6118 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/2.032, allocations: 1.641 kB / 0.6118 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/2.032, allocations: 4.5 kB / 0.6118 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001489/2.033, allocations: 0.5976 MB / 0.6124 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/2.033, allocations: 3.984 kB / 0.6124 GB, free: 216 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/2.033, allocations: 282.3 kB / 0.6126 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.623e-05/2.033, allocations: 40.27 kB / 0.6127 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/2.033, allocations: 4 kB / 0.6127 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/2.033, allocations: 15.98 kB / 0.6127 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/2.033, allocations: 16.06 kB / 0.6127 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/2.033, allocations: 9.938 kB / 0.6127 GB, free: 15.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001833/2.034, allocations: 189.2 kB / 0.6129 GB, free: 15.64 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/2.034, allocations: 0 / 0.6129 GB, free: 15.64 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001244/2.035, allocations: 403.4 kB / 0.6133 GB, free: 15.24 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.002225/2.037, allocations: 1.231 MB / 0.6145 GB, free: 13.97 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01045/2.047, allocations: 0.9399 MB / 0.6154 GB, free: 13.01 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/2.047, allocations: 4.062 kB / 0.6154 GB, free: 13.01 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008964/2.056, allocations: 0.6704 MB / 0.6161 GB, free: 12.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/2.057, allocations: 42.94 kB / 0.6161 GB, free: 12.29 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004627/2.061, allocations: 2.77 MB / 0.6188 GB, free: 9.355 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/2.061, allocations: 138.2 kB / 0.619 GB, free: 9.203 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001026/2.062, allocations: 18.61 kB / 0.619 GB, free: 9.188 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/2.062, allocations: 72.25 kB / 0.619 GB, free: 9.117 MB / 494.1 MB Notification: Performance of SimCode: time 6.52e-07/2.062, allocations: 4 kB / 0.619 GB, free: 9.113 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05133/2.113, allocations: 16.99 MB / 0.6356 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/14.46, allocations: 5.422 kB / 0.6356 GB, free: 8.773 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPumpWaterSolution_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPumpWaterSolution.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.18162773316726] Failed to read output from testmodel.py, exit status != 0: 14.75072613125667 14.765294317 12.751141239 Calling exit ...