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.8588/0.8588, allocations: 153.8 MB / 170.9 MB, free: 13.91 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.0005098/0.0005098, allocations: 24.27 kB / 247 MB, free: 14.87 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06478/0.06529, allocations: 33.34 MB / 280.4 MB, free: 15.13 MB / 238.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.744/1.81, allocations: 307 MB / 0.5736 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01634/1.826, allocations: 12.17 MB / 0.5855 GB, free: 14.64 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002525/1.826, allocations: 4 kB / 0.5855 GB, free: 14.64 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.0001828/1.826, allocations: 35.45 kB / 0.5855 GB, free: 14.61 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003347/1.827, allocations: 55.44 kB / 0.5856 GB, free: 14.55 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01007/1.837, allocations: 3.485 MB / 0.589 GB, free: 11.07 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006221/1.837, allocations: 255.3 kB / 0.5892 GB, free: 10.82 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003466/1.838, allocations: 134.8 kB / 0.5894 GB, free: 10.69 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/1.838, allocations: 99.64 kB / 0.5894 GB, free: 10.59 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/1.838, allocations: 127.5 kB / 0.5896 GB, free: 10.47 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.909e-05/1.838, allocations: 24 kB / 0.5896 GB, free: 10.45 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01586/1.854, allocations: 7.678 MB / 0.5971 GB, free: 2.758 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/1.854, allocations: 51.78 kB / 0.5971 GB, free: 2.707 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001939/1.855, allocations: 127.3 kB / 0.5973 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00756/1.862, allocations: 3.407 MB / 0.6006 GB, free: 15.17 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/1.862, allocations: 0 / 0.6006 GB, free: 15.17 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.645e-06/1.862, allocations: 4 kB / 0.6006 GB, free: 15.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.545e-05/1.862, allocations: 0 / 0.6006 GB, free: 15.16 MB / 494.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.002625/1.865, allocations: 0.8278 MB / 0.6014 GB, free: 14.28 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/1.865, allocations: 8.031 kB / 0.6014 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.559e-05/1.865, allocations: 4.75 kB / 0.6014 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.004e-05/1.865, allocations: 62.73 kB / 0.6015 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.433e-05/1.865, allocations: 32.75 kB / 0.6015 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/1.865, allocations: 243.9 kB / 0.6017 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/1.865, allocations: 16.94 kB / 0.6017 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.171e-05/1.865, allocations: 28.38 kB / 0.6018 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005844/1.866, allocations: 291.6 kB / 0.6021 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/1.866, allocations: 0 / 0.6021 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/1.866, allocations: 15.94 kB / 0.6021 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/1.866, allocations: 8 kB / 0.6021 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004706/1.866, allocations: 181.5 kB / 0.6023 GB, free: 13.33 MB / 494.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.006996/1.873, allocations: 3.031 MB / 0.6052 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005892/1.874, allocations: 178.7 kB / 0.6054 GB, free: 9.887 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/1.874, allocations: 60.83 kB / 0.6054 GB, free: 9.824 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004918/1.879, allocations: 1.714 MB / 0.6071 GB, free: 8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003268/1.88, allocations: 141 kB / 0.6072 GB, free: 7.844 MB / 494.1 MB Notification: Performance of pre-optimization done (n=17): time 2.505e-06/1.88, allocations: 0 / 0.6072 GB, free: 7.844 MB / 494.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007628/1.88, allocations: 275 kB / 0.6075 GB, free: 7.562 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.068e-05/1.88, allocations: 110.8 kB / 0.6076 GB, free: 7.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/1.881, allocations: 270.5 kB / 0.6079 GB, free: 7.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/1.881, allocations: 29.7 kB / 0.6079 GB, free: 7.125 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/1.881, allocations: 164.3 kB / 0.6081 GB, free: 6.961 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.438e-05/1.881, allocations: 55.53 kB / 0.6081 GB, free: 6.906 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.175e-05/1.881, allocations: 53.66 kB / 0.6082 GB, free: 6.848 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/1.881, allocations: 342.7 kB / 0.6085 GB, free: 6.504 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/1.881, allocations: 64.19 kB / 0.6086 GB, free: 6.438 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/1.882, allocations: 119.3 kB / 0.6087 GB, free: 6.297 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002762/1.884, allocations: 0.6254 MB / 0.6093 GB, free: 5.625 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.884, allocations: 0 / 0.6093 GB, free: 5.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006067/1.885, allocations: 282.9 kB / 0.6095 GB, free: 5.336 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.778e-05/1.885, allocations: 41.66 kB / 0.6096 GB, free: 5.293 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.885, allocations: 4 kB / 0.6096 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/1.885, allocations: 4 kB / 0.6096 GB, free: 5.285 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/1.887, allocations: 207.7 kB / 0.6098 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004133/1.887, allocations: 0.5938 MB / 0.6104 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/1.887, allocations: 39.8 kB / 0.6104 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/1.887, allocations: 11.98 kB / 0.6104 GB, free: 4.414 MB / 494.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.0002313/1.887, allocations: 173.8 kB / 0.6106 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.953e-05/1.887, allocations: 27.81 kB / 0.6106 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005721/1.888, allocations: 245.2 kB / 0.6108 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.984e-06/1.888, allocations: 7.938 kB / 0.6109 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.888, allocations: 0 / 0.6109 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/1.888, allocations: 0 / 0.6109 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003356/1.888, allocations: 285.5 kB / 0.6111 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.888, allocations: 4 kB / 0.6111 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001488/1.89, allocations: 195.8 kB / 0.6113 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/1.89, allocations: 0 / 0.6113 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/1.89, allocations: 8 kB / 0.6113 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003582/1.89, allocations: 0.5976 MB / 0.6119 GB, free: 2.793 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.89, allocations: 0 / 0.6119 GB, free: 2.793 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/1.891, allocations: 254.7 kB / 0.6121 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/1.891, allocations: 124.9 kB / 0.6123 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/1.891, allocations: 4 kB / 0.6123 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/1.891, allocations: 11.98 kB / 0.6123 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.577e-05/1.891, allocations: 15.98 kB / 0.6123 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/1.891, allocations: 11.92 kB / 0.6123 GB, free: 2.336 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001912/1.891, allocations: 182 kB / 0.6125 GB, free: 2.156 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/1.891, allocations: 0 / 0.6125 GB, free: 2.156 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001218/1.893, allocations: 407.4 kB / 0.6129 GB, free: 1.758 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.002748/1.895, allocations: 1.207 MB / 0.6141 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01114/1.906, allocations: 0.8778 MB / 0.6149 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.906, allocations: 4.062 kB / 0.6149 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.009651/1.916, allocations: 0.6588 MB / 0.6156 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/1.917, allocations: 44.08 kB / 0.6156 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004737/1.921, allocations: 2.611 MB / 0.6181 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/1.922, allocations: 0.748 MB / 0.6189 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001105/1.922, allocations: 25.95 kB / 0.6189 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/1.922, allocations: 75.41 kB / 0.619 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of SimCode: time 1.673e-06/1.922, allocations: 3.938 kB / 0.619 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04496/1.967, allocations: 16.38 MB / 0.635 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/13.82, allocations: 12.41 kB / 0.635 GB, free: 11.12 MB / 0.5137 GB " [Timeout remaining time 646] (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: 15.904660461004823] Failed to read output from testmodel.py, exit status != 0: 14.410988888004795 14.420758649 12.556395609 Calling exit ...