Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.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.5525/0.5525, allocations: 120.4 MB / 140.2 MB, free: 12.98 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.TestCentrifugalPump12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.796e-06/2.796e-06, allocations: 0 / 218 MB, free: 8.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.794e-05, allocations: 4.906 kB / 218 MB, free: 8.609 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.TestCentrifugalPump12): time 0.9494/0.9494, allocations: 254.4 MB / 472.4 MB, free: 8.754 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2189/1.168, allocations: 27.72 MB / 0.4884 GB, free: 1.016 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/1.169, allocations: 4.766 kB / 0.4884 GB, free: 1.016 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/SourceTorque.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.0003413/1.169, allocations: 107.1 kB / 0.4885 GB, free: 1.016 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/1.169, allocations: 127.2 kB / 0.4886 GB, free: 1.016 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.01475/1.184, allocations: 8.662 MB / 0.4971 GB, free: 272 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005128/1.184, allocations: 478.3 kB / 0.4975 GB, free: 116 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/1.185, allocations: 175.1 kB / 0.4977 GB, free: 56 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003482/1.185, allocations: 288.1 kB / 0.498 GB, free: 15.97 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/1.185, allocations: 141.5 kB / 0.4981 GB, free: 15.92 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.834e-05/1.185, allocations: 34.47 kB / 0.4982 GB, free: 15.92 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01652/1.202, allocations: 14.31 MB / 0.5121 GB, free: 8.023 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/1.202, allocations: 194.1 kB / 0.5123 GB, free: 7.84 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/1.202, allocations: 157.2 kB / 0.5125 GB, free: 7.691 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01045/1.212, allocations: 10.06 MB / 0.5223 GB, free: 14.1 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.212, allocations: 0.625 kB / 0.5223 GB, free: 14.1 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.755e-06/1.212, allocations: 5.766 kB / 0.5223 GB, free: 14.1 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/1.212, allocations: 4.75 kB / 0.5223 GB, free: 14.09 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.002736/1.215, allocations: 1.84 MB / 0.5241 GB, free: 12.22 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/1.215, allocations: 8.844 kB / 0.5241 GB, free: 12.21 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.75e-05/1.215, allocations: 99.33 kB / 0.5242 GB, free: 12.12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/1.215, allocations: 376.2 kB / 0.5246 GB, free: 11.75 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/1.215, allocations: 25.83 kB / 0.5246 GB, free: 11.72 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/1.216, allocations: 28.5 kB / 0.5246 GB, free: 11.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/1.216, allocations: 495.3 kB / 0.5251 GB, free: 11.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.216, allocations: 1.125 kB / 0.5251 GB, free: 11.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/1.216, allocations: 21.16 kB / 0.5251 GB, free: 11.18 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/1.216, allocations: 8 kB / 0.5251 GB, free: 11.17 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006065/1.217, allocations: 0.494 MB / 0.5256 GB, free: 10.68 MB / 474.7 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.001234/1.218, allocations: 1.48 MB / 0.527 GB, free: 9.184 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008994/1.219, allocations: 0.6195 MB / 0.5276 GB, free: 8.566 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/1.219, allocations: 210.3 kB / 0.5278 GB, free: 8.363 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03527/1.254, allocations: 22.61 MB / 0.5499 GB, free: 1.891 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/1.254, allocations: 39.62 kB / 0.55 GB, free: 1.844 MB / 490.7 MB Notification: Performance of pre-optimization done (n=38): time 2.114e-06/1.254, allocations: 0 / 0.55 GB, free: 1.844 MB / 490.7 MB Notification: Performance of matching and sorting (n=38): time 0.001756/1.256, allocations: 1 MB / 0.5509 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/1.256, allocations: 59.39 kB / 0.551 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005459/1.257, allocations: 0.7479 MB / 0.5517 GB, free: 16 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/1.257, allocations: 29.7 kB / 0.5518 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/1.257, allocations: 372.7 kB / 0.5521 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.44e-05/1.257, allocations: 132.3 kB / 0.5522 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-05/1.257, allocations: 70.02 kB / 0.5523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.399e-05/1.257, allocations: 326 kB / 0.5526 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/1.257, allocations: 215.7 kB / 0.5528 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/1.258, allocations: 268.7 kB / 0.5531 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/1.258, allocations: 488.4 kB / 0.5535 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.258, allocations: 0.75 kB / 0.5535 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001095/1.259, allocations: 0.7995 MB / 0.5543 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/1.259, allocations: 4 kB / 0.5543 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.259, allocations: 0.625 kB / 0.5543 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002207/1.261, allocations: 0.8799 MB / 0.5552 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/1.262, allocations: 47.55 kB / 0.5552 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009563/1.262, allocations: 1.31 MB / 0.5565 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/1.263, allocations: 55.7 kB / 0.5566 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/1.263, allocations: 22.3 kB / 0.5566 GB, free: 10.97 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 (sinkP.C.a,sourceP.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 (20): * Single equations (assignments): 19 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001938/1.263, allocations: 248.6 kB / 0.5568 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/1.263, allocations: 79.48 kB / 0.5569 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008388/1.264, allocations: 0.7969 MB / 0.5577 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006123/1.264, allocations: 0.6192 MB / 0.5583 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.264, allocations: 5.406 kB / 0.5583 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.264, allocations: 3.984 kB / 0.5583 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/1.266, allocations: 1.375 MB / 0.5596 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.266, allocations: 4 kB / 0.5596 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/1.266, allocations: 63.14 kB / 0.5597 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009016/1.267, allocations: 390.4 kB / 0.5601 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/1.267, allocations: 12 kB / 0.5601 GB, free: 7.355 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005199/1.267, allocations: 0.8224 MB / 0.5609 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/1.267, allocations: 48 / 0.5609 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/1.269, allocations: 1.118 MB / 0.562 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/1.269, allocations: 109.1 kB / 0.5621 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/1.269, allocations: 8 kB / 0.5621 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/1.269, allocations: 26.97 kB / 0.5621 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/1.269, allocations: 27.95 kB / 0.5621 GB, free: 5.207 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/1.269, allocations: 8 kB / 0.5622 GB, free: 5.199 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003491/1.269, allocations: 0.5263 MB / 0.5627 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/1.269, allocations: 4.062 kB / 0.5627 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002039/1.271, allocations: 1.177 MB / 0.5638 GB, free: 3.496 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (centrifugalPump.w) * 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 (29): * Single equations (assignments): 28 * 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 {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00279/1.274, allocations: 1.775 MB / 0.5656 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008355/1.275, allocations: 0.6069 MB / 0.5661 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.275, allocations: 0 / 0.5661 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003649/1.275, allocations: 319.5 kB / 0.5664 GB, free: 1.031 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/1.276, allocations: 96.08 kB / 0.5665 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/1.277, allocations: 1.551 MB / 0.5681 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/1.278, allocations: 393.8 kB / 0.5684 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/1.278, allocations: 28.48 kB / 0.5685 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of SimCode: time 3.91e-07/1.278, allocations: 0 / 0.5685 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of Templates: time 0.02411/1.302, allocations: 28.72 MB / 0.5965 GB, free: 2.312 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.920264766551554] Failed to read output from testmodel.py, exit status != 0: 1.528773169964552 1.4482224479999999 0.234162959 Calling exit ...