Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.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.572/0.572, allocations: 120.4 MB / 140.2 MB, free: 13 MB / 138.7 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.TestCentrifugalPump9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.836e-06/2.836e-06, allocations: 0 / 218 MB, free: 8.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/3.016e-05, allocations: 6.797 kB / 218 MB, free: 8.613 MB / 202.7 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.TestCentrifugalPump9): time 0.956/0.956, allocations: 254.4 MB / 472.3 MB, free: 8.812 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2145/1.17, allocations: 27.7 MB / 0.4883 GB, free: 1.008 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001892/1.171, allocations: 3.062 kB / 0.4883 GB, free: 1.008 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:117:3-119:42: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/WaterSteam/Machines/CentrifugalPump.mo:120:3-122:37: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/WaterSteam/Machines/CentrifugalPump.mo:126:3-130:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourcePQ.mo:29:3-30:52:writable] Warning: Connector C 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/WaterSteam/BoundaryConditions/Sink.mo:17:3-19:16:writable] Warning: Connector C 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/ElectroMechanics/BoundaryConditions/SourceMechanicalPower.mo:5:3-9:24:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003553/1.171, allocations: 107.8 kB / 0.4884 GB, free: 1.008 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002124/1.171, allocations: 119.9 kB / 0.4886 GB, free: 1.008 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0177/1.189, allocations: 8.659 MB / 0.497 GB, free: 284 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005832/1.19, allocations: 437 kB / 0.4974 GB, free: 136 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000257/1.19, allocations: 151.6 kB / 0.4976 GB, free: 84 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003397/1.19, allocations: 270.2 kB / 0.4978 GB, free: 4 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/1.19, allocations: 127.2 kB / 0.4979 GB, free: 15.96 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.96e-05/1.19, allocations: 28.88 kB / 0.498 GB, free: 15.96 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02179/1.212, allocations: 14.29 MB / 0.5119 GB, free: 8.168 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002122/1.212, allocations: 187.1 kB / 0.5121 GB, free: 7.992 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002093/1.213, allocations: 146.2 kB / 0.5123 GB, free: 7.855 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01879/1.231, allocations: 10.01 MB / 0.522 GB, free: 14.31 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.231, allocations: 3.125 kB / 0.522 GB, free: 14.31 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.723e-06/1.231, allocations: 0 / 0.522 GB, free: 14.31 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/1.231, allocations: 0.75 kB / 0.522 GB, free: 14.31 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.003374/1.235, allocations: 1.802 MB / 0.5238 GB, free: 12.47 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/1.235, allocations: 8.031 kB / 0.5238 GB, free: 12.46 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.382e-05/1.235, allocations: 91.39 kB / 0.5239 GB, free: 12.38 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/1.235, allocations: 372.9 kB / 0.5242 GB, free: 12.01 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/1.235, allocations: 26.14 kB / 0.5243 GB, free: 11.98 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/1.235, allocations: 29.38 kB / 0.5243 GB, free: 11.96 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005636/1.236, allocations: 0.5482 MB / 0.5248 GB, free: 11.38 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/1.236, allocations: 1.125 kB / 0.5248 GB, free: 11.38 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/1.236, allocations: 16.66 kB / 0.5248 GB, free: 11.37 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/1.236, allocations: 15.98 kB / 0.5249 GB, free: 11.35 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005628/1.236, allocations: 0.5783 MB / 0.5254 GB, free: 10.79 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/1.238, allocations: 1.954 MB / 0.5273 GB, free: 8.793 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008468/1.239, allocations: 0.7539 MB / 0.5281 GB, free: 8.039 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/1.239, allocations: 263 kB / 0.5283 GB, free: 7.781 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03844/1.277, allocations: 22.59 MB / 0.5504 GB, free: 1.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/1.277, allocations: 41.8 kB / 0.5504 GB, free: 1.293 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 2.225e-06/1.277, allocations: 0.8438 kB / 0.5504 GB, free: 1.293 MB / 490.7 MB Notification: Performance of matching and sorting (n=37): time 0.003064/1.281, allocations: 1.723 MB / 0.5521 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/1.281, allocations: 56.11 kB / 0.5522 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005679/1.281, allocations: 0.7186 MB / 0.5529 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/1.281, allocations: 29.7 kB / 0.5529 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/1.281, allocations: 351.1 kB / 0.5532 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.802e-05/1.281, allocations: 125.3 kB / 0.5533 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.553e-05/1.282, allocations: 65.64 kB / 0.5534 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.571e-05/1.282, allocations: 325.9 kB / 0.5537 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/1.282, allocations: 245.7 kB / 0.554 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/1.282, allocations: 306.8 kB / 0.5542 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004884/1.283, allocations: 0.5457 MB / 0.5548 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.283, allocations: 0 / 0.5548 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008464/1.283, allocations: 0.928 MB / 0.5557 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.283, allocations: 4 kB / 0.5557 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/1.283, allocations: 0.625 kB / 0.5557 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002465/1.286, allocations: 1.012 MB / 0.5567 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.552e-05/1.286, allocations: 12.75 kB / 0.5567 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/1.287, allocations: 1.786 MB / 0.5584 GB, free: 9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/1.287, allocations: 35.83 kB / 0.5585 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/1.287, allocations: 8 kB / 0.5585 GB, free: 8.957 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (sink.C.a,sourcePQ.C.b,centrifugalPump.C2.b,centrifugalPump.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002272/1.288, allocations: 244.8 kB / 0.5587 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/1.288, allocations: 85.77 kB / 0.5588 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/1.289, allocations: 1.091 MB / 0.5599 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008389/1.29, allocations: 0.9247 MB / 0.5608 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.29, allocations: 0 / 0.5608 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.29, allocations: 0 / 0.5608 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/1.291, allocations: 1.94 MB / 0.5627 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.291, allocations: 1.562 kB / 0.5627 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.651e-05/1.291, allocations: 20 kB / 0.5627 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001338/1.293, allocations: 0.7486 MB / 0.5634 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/1.293, allocations: 8.844 kB / 0.5634 GB, free: 3.871 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/1.294, allocations: 1.813 MB / 0.5652 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/1.294, allocations: 4 kB / 0.5652 GB, free: 2.027 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00095/1.295, allocations: 1.117 MB / 0.5663 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/1.295, allocations: 91.33 kB / 0.5664 GB, free: 0.8086 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/1.295, allocations: 8 kB / 0.5664 GB, free: 0.8008 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/1.295, allocations: 19.98 kB / 0.5664 GB, free: 0.7812 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/1.295, allocations: 21.83 kB / 0.5664 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/1.295, allocations: 12 kB / 0.5664 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003393/1.296, allocations: 0.4996 MB / 0.5669 GB, free: 264 kB / 0.4948 GB Notification: Performance of sort global known variables: time 2.01e-07/1.296, allocations: 0 / 0.5669 GB, free: 264 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002316/1.298, allocations: 1.161 MB / 0.568 GB, free: 15.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003276/1.301, allocations: 1.784 MB / 0.5698 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008762/1.302, allocations: 0.6915 MB / 0.5705 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.302, allocations: 0 / 0.5705 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004118/1.302, allocations: 390.7 kB / 0.5708 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/1.303, allocations: 87.8 kB / 0.5709 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/1.304, allocations: 1.561 MB / 0.5724 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/1.305, allocations: 376.9 kB / 0.5728 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/1.305, allocations: 20.44 kB / 0.5728 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of SimCode: time 1.062e-06/1.305, allocations: 4 kB / 0.5728 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of Templates: time 0.02712/1.332, allocations: 27.78 MB / 0.6 GB, free: 14.7 MB / 0.5417 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.86679651029408] Failed to read output from testmodel.py, exit status != 0: 1.564063091762364 1.475193282 0.24181074700000002 Calling exit ...