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.8322/0.8322, allocations: 153.8 MB / 172.7 MB, free: 4.949 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.0005176/0.0005176, allocations: 11.98 kB / 249.8 MB, free: 4.465 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1802, allocations: 33.36 MB / 283.2 MB, free: 1.828 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.8/1.98, allocations: 307.2 MB / 0.5766 GB, free: 16.11 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01279/1.992, allocations: 12.19 MB / 0.5885 GB, free: 13.72 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/1.993, allocations: 2.219 kB / 0.5885 GB, free: 13.72 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.0001116/1.993, allocations: 32.56 kB / 0.5885 GB, free: 13.72 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001575/1.993, allocations: 58.81 kB / 0.5885 GB, free: 13.71 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007564/2, allocations: 3.499 MB / 0.592 GB, free: 12.84 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004189/2.001, allocations: 259.6 kB / 0.5922 GB, free: 12.77 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/2.001, allocations: 123.4 kB / 0.5923 GB, free: 12.71 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/2.001, allocations: 106.1 kB / 0.5924 GB, free: 12.66 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/2.001, allocations: 120 kB / 0.5925 GB, free: 12.6 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/2.001, allocations: 29.64 kB / 0.5926 GB, free: 12.6 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01267/2.014, allocations: 7.667 MB / 0.6001 GB, free: 10.38 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.202e-05/2.014, allocations: 58.92 kB / 0.6001 GB, free: 10.33 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/2.014, allocations: 129.7 kB / 0.6002 GB, free: 10.25 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006769/2.021, allocations: 3.407 MB / 0.6036 GB, free: 7.938 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/2.021, allocations: 1.781 kB / 0.6036 GB, free: 7.938 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.603e-06/2.021, allocations: 0 / 0.6036 GB, free: 7.938 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/2.021, allocations: 0.7188 kB / 0.6036 GB, free: 7.938 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.002486/2.024, allocations: 0.7621 MB / 0.6043 GB, free: 7.371 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/2.024, allocations: 9.156 kB / 0.6043 GB, free: 7.371 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.938e-05/2.024, allocations: 60.12 kB / 0.6044 GB, free: 7.312 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.451e-05/2.024, allocations: 37.53 kB / 0.6044 GB, free: 7.293 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/2.024, allocations: 172.8 kB / 0.6046 GB, free: 7.121 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/2.024, allocations: 15.72 kB / 0.6046 GB, free: 7.117 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/2.024, allocations: 27.91 kB / 0.6046 GB, free: 7.109 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004376/2.024, allocations: 285.7 kB / 0.6049 GB, free: 6.906 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/2.024, allocations: 1.297 kB / 0.6049 GB, free: 6.906 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/2.024, allocations: 11.56 kB / 0.6049 GB, free: 6.898 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/2.024, allocations: 8.938 kB / 0.6049 GB, free: 6.898 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00039/2.025, allocations: 189.4 kB / 0.6051 GB, free: 6.816 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.03, allocations: 2.562 MB / 0.6076 GB, free: 5.188 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004631/2.031, allocations: 172 kB / 0.6078 GB, free: 5.102 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/2.031, allocations: 67.31 kB / 0.6078 GB, free: 5.066 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004054/2.035, allocations: 1.29 MB / 0.6091 GB, free: 4.195 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002507/2.035, allocations: 145.8 kB / 0.6092 GB, free: 4.035 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 2.224e-06/2.035, allocations: 2.25 kB / 0.6092 GB, free: 4.035 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005793/2.036, allocations: 274.5 kB / 0.6095 GB, free: 3.758 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/2.036, allocations: 106.8 kB / 0.6096 GB, free: 3.629 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/2.036, allocations: 269.9 kB / 0.6098 GB, free: 3.355 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/2.036, allocations: 29.7 kB / 0.6099 GB, free: 3.32 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/2.036, allocations: 164.2 kB / 0.61 GB, free: 3.156 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/2.036, allocations: 59.52 kB / 0.6101 GB, free: 3.098 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/2.036, allocations: 49.7 kB / 0.6101 GB, free: 3.043 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.998e-05/2.036, allocations: 338.8 kB / 0.6105 GB, free: 2.703 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/2.036, allocations: 64.19 kB / 0.6105 GB, free: 2.637 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/2.037, allocations: 120.2 kB / 0.6106 GB, free: 2.496 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002258/2.039, allocations: 0.6275 MB / 0.6112 GB, free: 1.832 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/2.039, allocations: 0 / 0.6112 GB, free: 1.832 MB / 478.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004196/2.039, allocations: 273.2 kB / 0.6115 GB, free: 1.562 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/2.039, allocations: 37.91 kB / 0.6115 GB, free: 1.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/2.039, allocations: 4 kB / 0.6115 GB, free: 1.516 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/2.039, allocations: 4 kB / 0.6116 GB, free: 1.512 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/2.041, allocations: 213 kB / 0.6118 GB, free: 1.309 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001903/2.041, allocations: 0.5899 MB / 0.6123 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/2.041, allocations: 43.75 kB / 0.6124 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/2.041, allocations: 4 kB / 0.6124 GB, free: 0.6484 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.000154/2.041, allocations: 183.6 kB / 0.6126 GB, free: 472 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/2.041, allocations: 28.08 kB / 0.6126 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004304/2.042, allocations: 243.2 kB / 0.6128 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/2.042, allocations: 7.938 kB / 0.6128 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/2.042, allocations: 0 / 0.6128 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/2.042, allocations: 0 / 0.6128 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/2.042, allocations: 264.5 kB / 0.6131 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/2.042, allocations: 0 / 0.6131 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/2.043, allocations: 200 kB / 0.6133 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/2.043, allocations: 5.781 kB / 0.6133 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/2.043, allocations: 4 kB / 0.6133 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003287/2.044, allocations: 0.586 MB / 0.6138 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/2.044, allocations: 0 / 0.6138 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/2.044, allocations: 259 kB / 0.6141 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.168e-05/2.044, allocations: 45.05 kB / 0.6141 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/2.044, allocations: 7.984 kB / 0.6141 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/2.044, allocations: 11.98 kB / 0.6142 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/2.044, allocations: 15.98 kB / 0.6142 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/2.044, allocations: 7.984 kB / 0.6142 GB, free: 14.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001775/2.045, allocations: 181.2 kB / 0.6143 GB, free: 14.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/2.045, allocations: 3.938 kB / 0.6144 GB, free: 14.53 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001425/2.046, allocations: 407.4 kB / 0.6147 GB, free: 14.13 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.002408/2.048, allocations: 1.204 MB / 0.6159 GB, free: 12.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01045/2.059, allocations: 0.8904 MB / 0.6168 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/2.059, allocations: 0 / 0.6168 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008541/2.067, allocations: 0.6447 MB / 0.6174 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/2.068, allocations: 41.14 kB / 0.6175 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004826/2.073, allocations: 2.615 MB / 0.62 GB, free: 8.605 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/2.073, allocations: 0.744 MB / 0.6207 GB, free: 7.836 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001174/2.073, allocations: 23.17 kB / 0.6208 GB, free: 7.816 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/2.073, allocations: 75.41 kB / 0.6208 GB, free: 7.742 MB / 494.1 MB Notification: Performance of SimCode: time 7.61e-07/2.073, allocations: 0 / 0.6208 GB, free: 7.742 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05132/2.125, allocations: 16.47 MB / 0.6369 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/15.02, allocations: 11.3 kB / 0.6369 GB, free: 7.895 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.86952601093799] Failed to read output from testmodel.py, exit status != 0: 15.360752854961902 15.385433459 13.359635536 Calling exit ...