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.9093/0.9093, allocations: 153.8 MB / 172.7 MB, free: 4.832 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: 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.0005551/0.0005551, allocations: 11.97 kB / 250.3 MB, free: 3.863 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1845, allocations: 33.36 MB / 283.7 MB, free: 2.055 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.947/2.131, allocations: 307.3 MB / 0.5771 GB, free: 17.37 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.013/2.144, allocations: 11.01 MB / 0.5878 GB, free: 15.63 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/2.144, allocations: 3.344 kB / 0.5879 GB, free: 15.63 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.0001101/2.144, allocations: 34.75 kB / 0.5879 GB, free: 15.61 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/2.144, allocations: 61.28 kB / 0.5879 GB, free: 15.56 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007397/2.152, allocations: 3.43 MB / 0.5913 GB, free: 14.45 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003083/2.152, allocations: 269 kB / 0.5915 GB, free: 14.32 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/2.152, allocations: 116.3 kB / 0.5917 GB, free: 14.27 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/2.152, allocations: 105.8 kB / 0.5918 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/2.153, allocations: 103 kB / 0.5919 GB, free: 14.17 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.548e-05/2.153, allocations: 25.72 kB / 0.5919 GB, free: 14.17 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01206/2.165, allocations: 7.283 MB / 0.599 GB, free: 12.27 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/2.165, allocations: 55.69 kB / 0.599 GB, free: 12.23 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001572/2.165, allocations: 114.2 kB / 0.5992 GB, free: 12.15 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00511/2.17, allocations: 3.408 MB / 0.6025 GB, free: 9.852 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/2.17, allocations: 0 / 0.6025 GB, free: 9.852 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.374e-06/2.17, allocations: 1.281 kB / 0.6025 GB, free: 9.852 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/2.17, allocations: 1.031 kB / 0.6025 GB, free: 9.852 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.00214/2.172, allocations: 0.75 MB / 0.6032 GB, free: 9.289 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/2.172, allocations: 8.969 kB / 0.6032 GB, free: 9.289 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.851e-05/2.172, allocations: 31 kB / 0.6033 GB, free: 9.273 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/2.173, allocations: 188.2 kB / 0.6034 GB, free: 9.086 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/2.173, allocations: 18.88 kB / 0.6035 GB, free: 9.078 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/2.173, allocations: 24.81 kB / 0.6035 GB, free: 9.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/2.173, allocations: 321.7 kB / 0.6038 GB, free: 8.824 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/2.173, allocations: 0 / 0.6038 GB, free: 8.824 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/2.173, allocations: 9.938 kB / 0.6038 GB, free: 8.82 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/2.173, allocations: 7.625 kB / 0.6038 GB, free: 8.82 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000421/2.174, allocations: 213.4 kB / 0.604 GB, free: 8.703 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.006087/2.18, allocations: 2.317 MB / 0.6063 GB, free: 7.344 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005999/2.18, allocations: 200.2 kB / 0.6065 GB, free: 7.227 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/2.18, allocations: 92.91 kB / 0.6066 GB, free: 7.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004547/2.185, allocations: 1.281 MB / 0.6078 GB, free: 6.18 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/2.185, allocations: 187.5 kB / 0.608 GB, free: 5.973 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 2.274e-06/2.185, allocations: 0 / 0.608 GB, free: 5.973 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006151/2.186, allocations: 318.5 kB / 0.6083 GB, free: 5.637 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/2.186, allocations: 110.8 kB / 0.6084 GB, free: 5.504 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/2.186, allocations: 207.3 kB / 0.6086 GB, free: 5.289 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/2.186, allocations: 25.7 kB / 0.6086 GB, free: 5.258 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/2.186, allocations: 172.2 kB / 0.6088 GB, free: 5.086 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/2.186, allocations: 47.59 kB / 0.6088 GB, free: 5.039 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.509e-05/2.186, allocations: 57.64 kB / 0.6089 GB, free: 4.977 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.53e-05/2.186, allocations: 336.4 kB / 0.6092 GB, free: 4.641 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/2.186, allocations: 89.89 kB / 0.6093 GB, free: 4.543 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/2.187, allocations: 154 kB / 0.6094 GB, free: 4.363 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/2.189, allocations: 0.6289 MB / 0.61 GB, free: 3.691 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/2.189, allocations: 0 / 0.61 GB, free: 3.691 MB / 478.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004549/2.19, allocations: 318.7 kB / 0.6103 GB, free: 3.363 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/2.19, allocations: 29.7 kB / 0.6104 GB, free: 3.328 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/2.19, allocations: 4 kB / 0.6104 GB, free: 3.324 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/2.19, allocations: 4 kB / 0.6104 GB, free: 3.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/2.191, allocations: 205.5 kB / 0.6106 GB, free: 3.121 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000239/2.191, allocations: 0.5899 MB / 0.6112 GB, free: 2.508 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/2.191, allocations: 35.77 kB / 0.6112 GB, free: 2.473 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/2.191, allocations: 13.11 kB / 0.6112 GB, free: 2.461 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.0001708/2.192, allocations: 175.2 kB / 0.6114 GB, free: 2.277 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/2.192, allocations: 15.91 kB / 0.6114 GB, free: 2.262 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004601/2.192, allocations: 273.6 kB / 0.6116 GB, free: 1.977 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/2.192, allocations: 0 / 0.6116 GB, free: 1.977 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/2.192, allocations: 0 / 0.6116 GB, free: 1.977 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/2.192, allocations: 7.875 kB / 0.6117 GB, free: 1.969 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/2.192, allocations: 209.1 kB / 0.6119 GB, free: 1.734 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/2.192, allocations: 0.625 kB / 0.6119 GB, free: 1.734 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/2.194, allocations: 192.8 kB / 0.612 GB, free: 1.547 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.819e-05/2.194, allocations: 4 kB / 0.612 GB, free: 1.543 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/2.194, allocations: 5.031 kB / 0.612 GB, free: 1.539 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001544/2.194, allocations: 0.5899 MB / 0.6126 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/2.194, allocations: 0 / 0.6126 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/2.194, allocations: 274.8 kB / 0.6129 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.285e-05/2.194, allocations: 39.77 kB / 0.6129 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/2.194, allocations: 7.938 kB / 0.6129 GB, free: 0.582 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/2.194, allocations: 20.64 kB / 0.6129 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/2.195, allocations: 11.97 kB / 0.613 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/2.195, allocations: 8 kB / 0.613 GB, free: 0.543 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.08e-05/2.195, allocations: 140.2 kB / 0.6131 GB, free: 416 kB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/2.195, allocations: 0 / 0.6131 GB, free: 416 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.001431/2.196, allocations: 408.3 kB / 0.6135 GB, free: 8 kB / 478.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.001649/2.198, allocations: 0.5126 MB / 0.614 GB, free: 15.49 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01173/2.209, allocations: 0.9512 MB / 0.6149 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/2.209, allocations: 4.062 kB / 0.6149 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01026/2.22, allocations: 0.6684 MB / 0.6156 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/2.22, allocations: 26.3 kB / 0.6156 GB, free: 13.81 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/2.221, allocations: 490.8 kB / 0.6161 GB, free: 13.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/2.221, allocations: 143.1 kB / 0.6162 GB, free: 13.15 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.498e-05/2.221, allocations: 17.48 kB / 0.6162 GB, free: 13.13 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.513e-05/2.221, allocations: 15.44 kB / 0.6162 GB, free: 13.11 MB / 494.1 MB Notification: Performance of SimCode: time 4.2e-07/2.221, allocations: 0 / 0.6162 GB, free: 13.11 MB / 494.1 MB Notification: Performance of Templates: time 0.02315/2.245, allocations: 12.92 MB / 0.6289 GB, free: 492 kB / 494.1 MB " [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: 6.277089919894934] Failed to read output from testmodel.py, exit status != 0: 2.424965128302574 2.439657086 0.266362922 Calling exit ...