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 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7656/0.7656, allocations: 152.6 MB / 169.6 MB, free: 14.96 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004923, allocations: 20.47 kB / 245.6 MB, free: 15.6 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05163/0.05212, allocations: 33.05 MB / 278.7 MB, free: 0.6094 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution): time 1.515/1.567, allocations: 300.8 MB / 0.5659 GB, free: 2.953 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01444/1.581, allocations: 12.07 MB / 0.5777 GB, free: 6.84 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.551e-05/1.581, allocations: 4 kB / 0.5777 GB, free: 6.836 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.0001101/1.581, allocations: 35.17 kB / 0.5778 GB, free: 6.805 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001417/1.581, allocations: 63.36 kB / 0.5778 GB, free: 6.742 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006902/1.588, allocations: 3.487 MB / 0.5812 GB, free: 3.262 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003264/1.589, allocations: 263.3 kB / 0.5815 GB, free: 3 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/1.589, allocations: 127.6 kB / 0.5816 GB, free: 2.871 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/1.589, allocations: 107.6 kB / 0.5817 GB, free: 2.766 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/1.589, allocations: 119.5 kB / 0.5818 GB, free: 2.648 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.429e-05/1.589, allocations: 24 kB / 0.5818 GB, free: 2.625 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01129/1.6, allocations: 7.658 MB / 0.5893 GB, free: 10.96 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.094e-05/1.601, allocations: 59.77 kB / 0.5894 GB, free: 10.9 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/1.601, allocations: 127.3 kB / 0.5895 GB, free: 10.77 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004371/1.605, allocations: 3.403 MB / 0.5928 GB, free: 7.363 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/1.605, allocations: 0 / 0.5928 GB, free: 7.363 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.222e-06/1.605, allocations: 0 / 0.5928 GB, free: 7.363 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/1.605, allocations: 0 / 0.5928 GB, free: 7.363 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.001756/1.607, allocations: 0.8318 MB / 0.5936 GB, free: 6.477 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/1.607, allocations: 11.89 kB / 0.5936 GB, free: 6.465 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.865e-05/1.607, allocations: 32.75 kB / 0.5937 GB, free: 6.434 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/1.607, allocations: 239.8 kB / 0.5939 GB, free: 6.16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/1.607, allocations: 20.94 kB / 0.5939 GB, free: 6.141 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/1.607, allocations: 24.38 kB / 0.5939 GB, free: 6.117 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005157/1.608, allocations: 288 kB / 0.5942 GB, free: 5.809 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/1.608, allocations: 3.984 kB / 0.5942 GB, free: 5.805 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/1.608, allocations: 12 kB / 0.5942 GB, free: 5.793 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/1.608, allocations: 8 kB / 0.5942 GB, free: 5.785 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004403/1.608, allocations: 181.6 kB / 0.5944 GB, free: 5.609 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.005979/1.614, allocations: 3.031 MB / 0.5974 GB, free: 2.352 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000514/1.615, allocations: 166.8 kB / 0.5975 GB, free: 2.18 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/1.615, allocations: 68.83 kB / 0.5976 GB, free: 2.109 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004506/1.619, allocations: 1.713 MB / 0.5993 GB, free: 292 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002727/1.62, allocations: 148.9 kB / 0.5994 GB, free: 124 kB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/1.62, allocations: 0 / 0.5994 GB, free: 124 kB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006936/1.62, allocations: 277.3 kB / 0.5997 GB, free: 15.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/1.62, allocations: 114.7 kB / 0.5998 GB, free: 15.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/1.621, allocations: 262.6 kB / 0.6 GB, free: 15.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/1.621, allocations: 33.7 kB / 0.6001 GB, free: 15.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/1.621, allocations: 156.4 kB / 0.6002 GB, free: 15.24 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/1.621, allocations: 51.53 kB / 0.6003 GB, free: 15.19 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.25e-05/1.621, allocations: 53.69 kB / 0.6003 GB, free: 15.13 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/1.621, allocations: 338.8 kB / 0.6006 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/1.621, allocations: 60.2 kB / 0.6007 GB, free: 14.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/1.622, allocations: 131.2 kB / 0.6008 GB, free: 14.58 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002551/1.624, allocations: 0.6293 MB / 0.6014 GB, free: 13.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.624, allocations: 0 / 0.6014 GB, free: 13.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005389/1.625, allocations: 279 kB / 0.6017 GB, free: 13.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/1.625, allocations: 33.7 kB / 0.6017 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/1.625, allocations: 0 / 0.6017 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/1.625, allocations: 4 kB / 0.6017 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/1.626, allocations: 215.9 kB / 0.602 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003688/1.626, allocations: 0.5937 MB / 0.6025 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/1.627, allocations: 35.77 kB / 0.6026 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/1.627, allocations: 8 kB / 0.6026 GB, free: 12.7 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.0001966/1.627, allocations: 184 kB / 0.6028 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/1.627, allocations: 23.86 kB / 0.6028 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005221/1.627, allocations: 241.3 kB / 0.603 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/1.627, allocations: 8 kB / 0.603 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.627, allocations: 3.938 kB / 0.603 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.627, allocations: 0 / 0.603 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/1.628, allocations: 285.5 kB / 0.6033 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.628, allocations: 0 / 0.6033 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/1.629, allocations: 203.7 kB / 0.6035 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/1.629, allocations: 4 kB / 0.6035 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/1.629, allocations: 4 kB / 0.6035 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003272/1.629, allocations: 0.586 MB / 0.6041 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/1.629, allocations: 0 / 0.6041 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/1.63, allocations: 265.5 kB / 0.6043 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/1.63, allocations: 116.9 kB / 0.6044 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/1.63, allocations: 11.98 kB / 0.6044 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/1.63, allocations: 11.98 kB / 0.6044 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/1.63, allocations: 19.97 kB / 0.6045 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/1.63, allocations: 4 kB / 0.6045 GB, free: 10.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001732/1.63, allocations: 186 kB / 0.6046 GB, free: 10.44 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/1.63, allocations: 3.938 kB / 0.6047 GB, free: 10.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009825/1.631, allocations: 403.4 kB / 0.605 GB, free: 10.04 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.001444/1.633, allocations: 0.5063 MB / 0.6055 GB, free: 9.523 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009996/1.643, allocations: 0.8813 MB / 0.6064 GB, free: 8.629 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.643, allocations: 3.938 kB / 0.6064 GB, free: 8.625 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008685/1.652, allocations: 0.6279 MB / 0.607 GB, free: 7.984 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/1.652, allocations: 40.48 kB / 0.607 GB, free: 7.945 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009946/1.653, allocations: 497.6 kB / 0.6075 GB, free: 7.426 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/1.653, allocations: 0.7478 MB / 0.6083 GB, free: 6.652 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.521e-05/1.653, allocations: 27.42 kB / 0.6083 GB, free: 6.625 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/1.653, allocations: 0 / 0.6083 GB, free: 6.625 MB / 494.1 MB Notification: Performance of Templates: time 0.01384/1.667, allocations: 10.29 MB / 0.6183 GB, free: 12.34 MB / 0.4981 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.makefile [Timeout 660] (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 & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.744918291922659] Failed to read output from testmodel.py, exit status != 0: 1.8111957090441138 2.010199409 0.40319063800000005 Calling exit ...