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.859/0.859, allocations: 152.6 MB / 170.1 MB, free: 14.43 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.0005501/0.0005501, allocations: 19.88 kB / 246.8 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06109/0.06164, allocations: 33.06 MB / 279.8 MB, free: 15.84 MB / 238.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.725/1.786, allocations: 300.7 MB / 0.5669 GB, free: 2.496 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01628/1.803, allocations: 12.11 MB / 0.5787 GB, free: 6.348 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/1.803, allocations: 0 / 0.5787 GB, free: 6.348 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.0001221/1.803, allocations: 31.66 kB / 0.5788 GB, free: 6.316 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001586/1.803, allocations: 63.36 kB / 0.5788 GB, free: 6.254 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008383/1.812, allocations: 3.486 MB / 0.5822 GB, free: 2.77 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004451/1.812, allocations: 259.3 kB / 0.5825 GB, free: 2.512 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/1.812, allocations: 123.6 kB / 0.5826 GB, free: 2.387 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/1.812, allocations: 103.6 kB / 0.5827 GB, free: 2.285 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/1.813, allocations: 123.4 kB / 0.5828 GB, free: 2.164 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/1.813, allocations: 24 kB / 0.5828 GB, free: 2.141 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01266/1.825, allocations: 7.67 MB / 0.5903 GB, free: 10.46 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.772e-05/1.825, allocations: 47.84 kB / 0.5904 GB, free: 10.41 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001645/1.826, allocations: 123.3 kB / 0.5905 GB, free: 10.29 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004988/1.831, allocations: 3.406 MB / 0.5938 GB, free: 6.879 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.831, allocations: 4 kB / 0.5938 GB, free: 6.875 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.262e-06/1.831, allocations: 0 / 0.5938 GB, free: 6.875 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/1.831, allocations: 4 kB / 0.5938 GB, free: 6.871 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.001893/1.832, allocations: 0.8278 MB / 0.5946 GB, free: 5.988 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/1.832, allocations: 19.88 kB / 0.5947 GB, free: 5.969 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.867e-05/1.833, allocations: 32.73 kB / 0.5947 GB, free: 5.938 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/1.833, allocations: 239.9 kB / 0.5949 GB, free: 5.664 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/1.833, allocations: 16.94 kB / 0.5949 GB, free: 5.648 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/1.833, allocations: 28.38 kB / 0.595 GB, free: 5.621 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005585/1.833, allocations: 284 kB / 0.5952 GB, free: 5.32 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/1.833, allocations: 4 kB / 0.5952 GB, free: 5.316 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/1.834, allocations: 8 kB / 0.5952 GB, free: 5.309 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/1.834, allocations: 15.94 kB / 0.5953 GB, free: 5.293 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004498/1.834, allocations: 181.6 kB / 0.5954 GB, free: 5.117 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.006494/1.84, allocations: 3.027 MB / 0.5984 GB, free: 1.863 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005388/1.841, allocations: 174.7 kB / 0.5985 GB, free: 1.684 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/1.841, allocations: 64.83 kB / 0.5986 GB, free: 1.617 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004808/1.846, allocations: 1.717 MB / 0.6003 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003033/1.846, allocations: 149 kB / 0.6004 GB, free: 15.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=17): time 1.944e-06/1.846, allocations: 0 / 0.6004 GB, free: 15.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006978/1.847, allocations: 270 kB / 0.6007 GB, free: 15.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.916e-05/1.847, allocations: 114.7 kB / 0.6008 GB, free: 15.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/1.847, allocations: 262.6 kB / 0.601 GB, free: 14.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/1.847, allocations: 29.7 kB / 0.6011 GB, free: 14.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/1.848, allocations: 156.4 kB / 0.6012 GB, free: 14.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.26e-05/1.848, allocations: 59.52 kB / 0.6013 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.723e-05/1.848, allocations: 57.69 kB / 0.6013 GB, free: 14.63 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/1.848, allocations: 334.8 kB / 0.6017 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/1.848, allocations: 64.2 kB / 0.6017 GB, free: 14.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/1.848, allocations: 115.3 kB / 0.6018 GB, free: 14.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00268/1.851, allocations: 0.6254 MB / 0.6024 GB, free: 13.42 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/1.851, allocations: 4 kB / 0.6024 GB, free: 13.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005594/1.852, allocations: 278.9 kB / 0.6027 GB, free: 13.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.69e-05/1.852, allocations: 33.7 kB / 0.6027 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.852, allocations: 4 kB / 0.6027 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/1.852, allocations: 0 / 0.6027 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/1.853, allocations: 215.9 kB / 0.6029 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004122/1.853, allocations: 0.5938 MB / 0.6035 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/1.854, allocations: 43.8 kB / 0.6036 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/1.854, allocations: 12 kB / 0.6036 GB, free: 12.21 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.000209/1.854, allocations: 172 kB / 0.6037 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-05/1.854, allocations: 23.86 kB / 0.6038 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005626/1.855, allocations: 253.3 kB / 0.604 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.855, allocations: 0 / 0.604 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.855, allocations: 3.938 kB / 0.604 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.855, allocations: 0 / 0.604 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003209/1.855, allocations: 297.4 kB / 0.6043 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.855, allocations: 0 / 0.6043 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/1.856, allocations: 199.8 kB / 0.6045 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/1.856, allocations: 3.984 kB / 0.6045 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/1.856, allocations: 8 kB / 0.6045 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003552/1.857, allocations: 0.5898 MB / 0.6051 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.857, allocations: 7.938 kB / 0.6051 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004978/1.857, allocations: 253.3 kB / 0.6053 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/1.857, allocations: 124.8 kB / 0.6054 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/1.857, allocations: 0 / 0.6054 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/1.857, allocations: 20.08 kB / 0.6055 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/1.858, allocations: 15.97 kB / 0.6055 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/1.858, allocations: 8 kB / 0.6055 GB, free: 10.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001925/1.858, allocations: 185.9 kB / 0.6057 GB, free: 9.934 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/1.858, allocations: 0 / 0.6057 GB, free: 9.934 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001051/1.859, allocations: 403.4 kB / 0.606 GB, free: 9.539 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.00151/1.86, allocations: 0.5059 MB / 0.6065 GB, free: 9.027 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01112/1.871, allocations: 0.8967 MB / 0.6074 GB, free: 8.121 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.871, allocations: 0 / 0.6074 GB, free: 8.121 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009222/1.881, allocations: 0.6315 MB / 0.608 GB, free: 7.477 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/1.881, allocations: 44.42 kB / 0.6081 GB, free: 7.434 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/1.882, allocations: 476.3 kB / 0.6085 GB, free: 6.938 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/1.882, allocations: 0.7439 MB / 0.6093 GB, free: 6.168 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001043/1.883, allocations: 33.91 kB / 0.6093 GB, free: 6.137 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.759e-05/1.883, allocations: 19.44 kB / 0.6093 GB, free: 6.117 MB / 494.1 MB Notification: Performance of SimCode: time 7.51e-07/1.883, allocations: 0 / 0.6093 GB, free: 6.117 MB / 494.1 MB Notification: Performance of Templates: time 0.02006/1.903, allocations: 13.11 MB / 0.6221 GB, free: 9.02 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: 6.05477696005255]