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.8094/0.8094, allocations: 153.8 MB / 173.4 MB, free: 4.871 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPumpWaterSolution",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005032/0.0005032, allocations: 15.98 kB / 250.6 MB, free: 4.363 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1881, allocations: 33.36 MB / 283.9 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.811/1.999, allocations: 306.9 MB / 0.577 GB, free: 17.33 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01187/2.011, allocations: 11.01 MB / 0.5878 GB, free: 15.61 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/2.011, allocations: 4.594 kB / 0.5878 GB, free: 15.61 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.0001205/2.011, allocations: 31.05 kB / 0.5878 GB, free: 15.59 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001547/2.012, allocations: 59.59 kB / 0.5878 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007233/2.019, allocations: 3.428 MB / 0.5912 GB, free: 14.43 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003736/2.019, allocations: 259.8 kB / 0.5914 GB, free: 14.3 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/2.019, allocations: 125.8 kB / 0.5916 GB, free: 14.24 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/2.019, allocations: 109 kB / 0.5917 GB, free: 14.19 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/2.02, allocations: 121.3 kB / 0.5918 GB, free: 14.12 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/2.02, allocations: 25.97 kB / 0.5918 GB, free: 14.12 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01399/2.034, allocations: 7.607 MB / 0.5992 GB, free: 11.97 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001644/2.034, allocations: 55.77 kB / 0.5993 GB, free: 11.92 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002072/2.034, allocations: 101 kB / 0.5994 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007853/2.042, allocations: 3.419 MB / 0.6027 GB, free: 9.547 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/2.042, allocations: 0.8438 kB / 0.6027 GB, free: 9.547 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.823e-06/2.042, allocations: 1.125 kB / 0.6027 GB, free: 9.547 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/2.042, allocations: 0.8125 kB / 0.6027 GB, free: 9.547 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.002874/2.045, allocations: 0.7585 MB / 0.6035 GB, free: 8.977 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/2.045, allocations: 10.72 kB / 0.6035 GB, free: 8.977 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.531e-05/2.045, allocations: 8.297 kB / 0.6035 GB, free: 8.977 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.652e-05/2.045, allocations: 59.61 kB / 0.6035 GB, free: 8.918 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.985e-05/2.045, allocations: 31.98 kB / 0.6036 GB, free: 8.902 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/2.045, allocations: 179 kB / 0.6037 GB, free: 8.723 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/2.045, allocations: 14.81 kB / 0.6038 GB, free: 8.719 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/2.045, allocations: 24.38 kB / 0.6038 GB, free: 8.711 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005174/2.046, allocations: 325.5 kB / 0.6041 GB, free: 8.461 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/2.046, allocations: 1 kB / 0.6041 GB, free: 8.461 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/2.046, allocations: 11.75 kB / 0.6041 GB, free: 8.453 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/2.046, allocations: 10.33 kB / 0.6041 GB, free: 8.453 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004332/2.046, allocations: 206.7 kB / 0.6043 GB, free: 8.344 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.005808/2.052, allocations: 2.375 MB / 0.6066 GB, free: 6.926 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005457/2.053, allocations: 196.5 kB / 0.6068 GB, free: 6.805 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/2.053, allocations: 93.78 kB / 0.6069 GB, free: 6.738 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004012/2.057, allocations: 1.285 MB / 0.6082 GB, free: 5.719 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002686/2.057, allocations: 180.1 kB / 0.6083 GB, free: 5.52 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 2.124e-06/2.057, allocations: 1.406 kB / 0.6083 GB, free: 5.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006311/2.058, allocations: 334.4 kB / 0.6086 GB, free: 5.168 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/2.058, allocations: 106.8 kB / 0.6088 GB, free: 5.039 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/2.058, allocations: 261.9 kB / 0.609 GB, free: 4.777 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/2.058, allocations: 33.7 kB / 0.609 GB, free: 4.738 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/2.058, allocations: 156.2 kB / 0.6092 GB, free: 4.582 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/2.058, allocations: 55.58 kB / 0.6092 GB, free: 4.527 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.532e-05/2.058, allocations: 55.66 kB / 0.6093 GB, free: 4.469 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.872e-05/2.058, allocations: 338.8 kB / 0.6096 GB, free: 4.129 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/2.058, allocations: 93.89 kB / 0.6097 GB, free: 4.027 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/2.058, allocations: 152.9 kB / 0.6098 GB, free: 3.848 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002427/2.061, allocations: 0.6257 MB / 0.6105 GB, free: 3.176 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/2.061, allocations: 4 kB / 0.6105 GB, free: 3.172 MB / 478.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00047/2.061, allocations: 310.5 kB / 0.6108 GB, free: 2.852 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/2.061, allocations: 38.64 kB / 0.6108 GB, free: 2.809 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/2.061, allocations: 0.875 kB / 0.6108 GB, free: 2.809 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/2.061, allocations: 4 kB / 0.6108 GB, free: 2.805 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/2.063, allocations: 208.8 kB / 0.611 GB, free: 2.602 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002113/2.063, allocations: 0.5976 MB / 0.6116 GB, free: 1.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/2.063, allocations: 36.55 kB / 0.6116 GB, free: 1.945 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/2.063, allocations: 15.98 kB / 0.6116 GB, free: 1.93 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.0001636/2.063, allocations: 173 kB / 0.6118 GB, free: 1.746 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/2.063, allocations: 23.86 kB / 0.6118 GB, free: 1.723 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004734/2.064, allocations: 274.9 kB / 0.6121 GB, free: 1.441 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/2.064, allocations: 3.938 kB / 0.6121 GB, free: 1.438 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/2.064, allocations: 0.875 kB / 0.6121 GB, free: 1.438 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/2.064, allocations: 0 / 0.6121 GB, free: 1.438 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/2.064, allocations: 244.5 kB / 0.6123 GB, free: 1.156 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/2.064, allocations: 0 / 0.6123 GB, free: 1.156 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/2.065, allocations: 196.3 kB / 0.6125 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/2.065, allocations: 8 kB / 0.6125 GB, free: 0.957 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/2.065, allocations: 7.984 kB / 0.6125 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001641/2.066, allocations: 0.5865 MB / 0.6131 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/2.066, allocations: 0 / 0.6131 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004019/2.066, allocations: 291.6 kB / 0.6134 GB, free: 28 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/2.066, allocations: 35.86 kB / 0.6134 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/2.066, allocations: 3.938 kB / 0.6134 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/2.066, allocations: 17.08 kB / 0.6134 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.409e-05/2.066, allocations: 21 kB / 0.6134 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/2.066, allocations: 8 kB / 0.6135 GB, free: 15.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001819/2.067, allocations: 181.2 kB / 0.6136 GB, free: 15.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/2.067, allocations: 4 kB / 0.6136 GB, free: 15.76 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001561/2.068, allocations: 403.4 kB / 0.614 GB, free: 15.37 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.003252/2.071, allocations: 1.234 MB / 0.6152 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01094/2.082, allocations: 0.947 MB / 0.6161 GB, free: 13.13 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/2.082, allocations: 0 / 0.6161 GB, free: 13.13 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009496/2.092, allocations: 0.6671 MB / 0.6168 GB, free: 12.45 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/2.092, allocations: 40.31 kB / 0.6168 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/2.098, allocations: 2.773 MB / 0.6195 GB, free: 9.484 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/2.098, allocations: 130.9 kB / 0.6197 GB, free: 9.34 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001152/2.098, allocations: 26.48 kB / 0.6197 GB, free: 9.316 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/2.098, allocations: 79.41 kB / 0.6198 GB, free: 9.238 MB / 494.1 MB Notification: Performance of SimCode: time 1.022e-06/2.098, allocations: 0 / 0.6198 GB, free: 9.238 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04431/2.142, allocations: 16.67 MB / 0.6361 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/14.79, allocations: 11.61 kB / 0.6361 GB, free: 9.254 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 os._exit(0), Time elapsed: 16.591582802007906] Failed to read output from testmodel.py, exit status != 0: 15.155423293937929 15.170048535 13.125146619 Calling exit ...