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.8663/0.8663, allocations: 153.8 MB / 172.7 MB, free: 4.254 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.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 0.0005752/0.0005752, allocations: 11.97 kB / 250.4 MB, free: 3.77 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1442, allocations: 33.35 MB / 283.7 MB, free: 3.965 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.TestCentrifugalPump9): time 1.845/1.989, allocations: 307.6 MB / 0.5775 GB, free: 15.9 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03126/2.02, allocations: 27.71 MB / 0.6046 GB, free: 6.824 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/2.021, allocations: 3.156 kB / 0.6046 GB, free: 6.824 MB / 478.1 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.0004158/2.021, allocations: 108 kB / 0.6047 GB, free: 6.719 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002915/2.021, allocations: 113.2 kB / 0.6048 GB, free: 6.609 MB / 478.1 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.02314/2.044, allocations: 8.581 MB / 0.6132 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006799/2.045, allocations: 427.1 kB / 0.6136 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002826/2.045, allocations: 148.9 kB / 0.6137 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003409/2.046, allocations: 188 kB / 0.6139 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/2.046, allocations: 155.9 kB / 0.614 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.833e-05/2.046, allocations: 28.84 kB / 0.6141 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02643/2.073, allocations: 14.27 MB / 0.628 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002313/2.073, allocations: 183.4 kB / 0.6282 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002537/2.073, allocations: 214.4 kB / 0.6284 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01524/2.088, allocations: 7.962 MB / 0.6362 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/2.088, allocations: 0 / 0.6362 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.863e-06/2.088, allocations: 0 / 0.6362 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.097e-06/2.088, allocations: 4 kB / 0.6362 GB, free: 6.488 MB / 0.4981 GB 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.004333/2.093, allocations: 1.805 MB / 0.6379 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/2.093, allocations: 12.03 kB / 0.6379 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/2.093, allocations: 88.03 kB / 0.638 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004508/2.093, allocations: 379 kB / 0.6384 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/2.093, allocations: 28.59 kB / 0.6384 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.114e-05/2.093, allocations: 35.94 kB / 0.6384 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008891/2.094, allocations: 0.5443 MB / 0.639 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/2.094, allocations: 2.125 kB / 0.639 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/2.094, allocations: 12 kB / 0.639 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/2.094, allocations: 16 kB / 0.639 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00094/2.095, allocations: 0.5841 MB / 0.6396 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002185/2.097, allocations: 1.939 MB / 0.6415 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/2.099, allocations: 0.7566 MB / 0.6422 GB, free: 124 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004282/2.099, allocations: 261 kB / 0.6425 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08182/2.181, allocations: 22.6 MB / 0.6645 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/2.181, allocations: 30.8 kB / 0.6646 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=37): time 2.415e-06/2.181, allocations: 3.938 kB / 0.6646 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37): time 0.005629/2.187, allocations: 1.738 MB / 0.6663 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/2.187, allocations: 55.88 kB / 0.6663 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008766/2.188, allocations: 0.7117 MB / 0.667 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/2.188, allocations: 29.7 kB / 0.667 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/2.188, allocations: 348.8 kB / 0.6674 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/2.188, allocations: 138.8 kB / 0.6675 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/2.188, allocations: 65.64 kB / 0.6676 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001477/2.188, allocations: 322 kB / 0.6679 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003988/2.189, allocations: 239.9 kB / 0.6681 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004561/2.189, allocations: 305.4 kB / 0.6684 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008493/2.19, allocations: 0.5562 MB / 0.6689 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/2.19, allocations: 0 / 0.6689 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001457/2.191, allocations: 0.9192 MB / 0.6698 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/2.192, allocations: 8 kB / 0.6698 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/2.192, allocations: 0 / 0.6698 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004972/2.196, allocations: 1.007 MB / 0.6708 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.796e-05/2.197, allocations: 12.55 kB / 0.6708 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/2.199, allocations: 1.79 MB / 0.6726 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/2.199, allocations: 37.8 kB / 0.6726 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/2.199, allocations: 19.06 kB / 0.6726 GB, free: 0.8125 MB / 0.5294 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.0003109/2.199, allocations: 233.8 kB / 0.6729 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/2.2, allocations: 83.47 kB / 0.6729 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/2.201, allocations: 1.089 MB / 0.674 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001535/2.203, allocations: 0.9189 MB / 0.6749 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/2.203, allocations: 4.094 kB / 0.6749 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/2.203, allocations: 8.422 kB / 0.6749 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003064/2.206, allocations: 1.942 MB / 0.6768 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/2.206, allocations: 0 / 0.6768 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.349e-05/2.206, allocations: 22.3 kB / 0.6768 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002714/2.209, allocations: 0.7385 MB / 0.6776 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/2.209, allocations: 11.98 kB / 0.6776 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002137/2.211, allocations: 1.817 MB / 0.6793 GB, free: 9.855 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/2.211, allocations: 0 / 0.6793 GB, free: 9.855 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/2.213, allocations: 1.119 MB / 0.6804 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/2.213, allocations: 103.3 kB / 0.6805 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.126e-05/2.213, allocations: 4 kB / 0.6805 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/2.213, allocations: 15.98 kB / 0.6805 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/2.213, allocations: 19.95 kB / 0.6806 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/2.213, allocations: 8 kB / 0.6806 GB, free: 8.566 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006054/2.214, allocations: 0.5106 MB / 0.6811 GB, free: 8.062 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/2.214, allocations: 4 kB / 0.6811 GB, free: 8.059 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002933/2.217, allocations: 1.154 MB / 0.6822 GB, free: 6.902 MB / 0.545 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.00513/2.222, allocations: 1.615 MB / 0.6838 GB, free: 5.293 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001468/2.223, allocations: 0.6976 MB / 0.6845 GB, free: 4.594 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/2.223, allocations: 0 / 0.6845 GB, free: 4.594 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008509/2.224, allocations: 397 kB / 0.6848 GB, free: 4.207 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006695/2.225, allocations: 83.14 kB / 0.6849 GB, free: 4.129 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/2.228, allocations: 1.552 MB / 0.6864 GB, free: 2.555 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/2.228, allocations: 388.8 kB / 0.6868 GB, free: 2.148 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.52e-05/2.228, allocations: 16.69 kB / 0.6868 GB, free: 2.137 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/2.228, allocations: 16.5 kB / 0.6868 GB, free: 2.121 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/2.228, allocations: 0 / 0.6868 GB, free: 2.121 MB / 0.545 GB Notification: Performance of Templates: time 0.06056/2.289, allocations: 40.26 MB / 0.7262 GB, free: 10.08 MB / 0.5919 GB " [Timeout remaining time 657] 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: 8.280539643019438] Failed to read output from testmodel.py, exit status != 0: 2.6283844634890556 2.638488412 0.5477386820000001 Calling exit ...