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.8386/0.8386, allocations: 120.4 MB / 139.5 MB, free: 476 kB / 126.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.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 1.533e-06/1.533e-06, allocations: 0 / 217.2 MB, free: 13.71 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.343e-05, allocations: 9.953 kB / 217.2 MB, free: 13.7 MB / 206.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.TestCentrifugalPump12): time 1.509/1.509, allocations: 254.4 MB / 471.6 MB, free: 10.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2366/1.746, allocations: 27.73 MB / 499.4 MB, free: 10.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/1.746, allocations: 7.844 kB / 499.4 MB, free: 10.3 MB / 446.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/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.0003834/1.746, allocations: 110.8 kB / 499.5 MB, free: 10.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002298/1.746, allocations: 125.6 kB / 499.6 MB, free: 10.13 MB / 446.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.02445/1.771, allocations: 8.658 MB / 0.4964 GB, free: 4.355 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006179/1.771, allocations: 474.4 kB / 0.4968 GB, free: 4.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002789/1.772, allocations: 179 kB / 0.497 GB, free: 3.953 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000435/1.772, allocations: 282.3 kB / 0.4973 GB, free: 3.777 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/1.772, allocations: 141.3 kB / 0.4974 GB, free: 3.695 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.217e-05/1.772, allocations: 34.28 kB / 0.4974 GB, free: 3.695 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0283/1.801, allocations: 14.31 MB / 0.5114 GB, free: 5.91 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002475/1.801, allocations: 191.4 kB / 0.5116 GB, free: 5.723 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002874/1.801, allocations: 160.1 kB / 0.5117 GB, free: 5.566 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02115/1.822, allocations: 10.06 MB / 0.5216 GB, free: 11.48 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.822, allocations: 1.969 kB / 0.5216 GB, free: 11.48 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.343e-06/1.822, allocations: 0 / 0.5216 GB, free: 11.48 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/1.822, allocations: 0 / 0.5216 GB, free: 11.48 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.004504/1.827, allocations: 1.843 MB / 0.5234 GB, free: 9.598 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/1.827, allocations: 15.97 kB / 0.5234 GB, free: 9.582 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/1.827, allocations: 95.34 kB / 0.5235 GB, free: 9.488 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004807/1.828, allocations: 374 kB / 0.5238 GB, free: 9.094 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.694e-05/1.828, allocations: 26.06 kB / 0.5239 GB, free: 9.07 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.574e-05/1.828, allocations: 32 kB / 0.5239 GB, free: 9.039 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000953/1.829, allocations: 492.5 kB / 0.5244 GB, free: 8.535 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/1.829, allocations: 5.812 kB / 0.5244 GB, free: 8.531 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.745e-05/1.829, allocations: 16 kB / 0.5244 GB, free: 8.516 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/1.829, allocations: 8.75 kB / 0.5244 GB, free: 8.508 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/1.83, allocations: 0.4919 MB / 0.5249 GB, free: 8.016 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.002288/1.832, allocations: 1.486 MB / 0.5263 GB, free: 6.484 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/1.834, allocations: 0.6227 MB / 0.5269 GB, free: 5.859 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004609/1.834, allocations: 209.9 kB / 0.5271 GB, free: 5.652 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08317/1.918, allocations: 22.6 MB / 0.5492 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/1.918, allocations: 38.55 kB / 0.5492 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 3.377e-06/1.918, allocations: 1.594 kB / 0.5492 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.003369/1.921, allocations: 1.003 MB / 0.5502 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/1.921, allocations: 59.41 kB / 0.5503 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009258/1.922, allocations: 0.7509 MB / 0.551 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/1.922, allocations: 33.7 kB / 0.551 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003243/1.922, allocations: 364.7 kB / 0.5514 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/1.922, allocations: 138.8 kB / 0.5515 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/1.923, allocations: 74 kB / 0.5516 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.923, allocations: 322.6 kB / 0.5519 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004684/1.923, allocations: 216.7 kB / 0.5521 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005291/1.924, allocations: 276.6 kB / 0.5524 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009597/1.925, allocations: 472.9 kB / 0.5528 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.925, allocations: 4 kB / 0.5528 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001641/1.926, allocations: 0.7904 MB / 0.5536 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/1.926, allocations: 8 kB / 0.5536 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/1.926, allocations: 0.5625 kB / 0.5536 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004919/1.931, allocations: 0.8888 MB / 0.5545 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/1.932, allocations: 43.91 kB / 0.5545 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/1.933, allocations: 1.315 MB / 0.5558 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/1.934, allocations: 59.69 kB / 0.5559 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/1.934, allocations: 13.25 kB / 0.5559 GB, free: 8.16 MB / 0.4981 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.0003197/1.934, allocations: 242.9 kB / 0.5561 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/1.934, allocations: 79.48 kB / 0.5562 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/1.936, allocations: 0.7975 MB / 0.557 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001236/1.937, allocations: 0.6248 MB / 0.5576 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.937, allocations: 0.9375 kB / 0.5576 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/1.937, allocations: 3.984 kB / 0.5576 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/1.94, allocations: 1.375 MB / 0.5589 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.94, allocations: 0 / 0.5589 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003488/1.94, allocations: 67.95 kB / 0.559 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002073/1.942, allocations: 396.9 kB / 0.5594 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/1.942, allocations: 8.625 kB / 0.5594 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/1.943, allocations: 0.8171 MB / 0.5602 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.943, allocations: 0 / 0.5602 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/1.945, allocations: 1.118 MB / 0.5613 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/1.945, allocations: 111.4 kB / 0.5614 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.285e-05/1.945, allocations: 9.359 kB / 0.5614 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/1.946, allocations: 23.98 kB / 0.5614 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.943e-05/1.946, allocations: 23.94 kB / 0.5614 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/1.946, allocations: 12 kB / 0.5614 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006554/1.947, allocations: 0.5302 MB / 0.5619 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/1.947, allocations: 0 / 0.5619 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002999/1.95, allocations: 1.169 MB / 0.5631 GB, free: 0.6562 MB / 0.4981 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.004933/1.954, allocations: 1.781 MB / 0.5648 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001633/1.956, allocations: 0.5983 MB / 0.5654 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.956, allocations: 4 kB / 0.5654 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007928/1.957, allocations: 322.4 kB / 0.5657 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006692/1.958, allocations: 90.55 kB / 0.5658 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/1.96, allocations: 1.503 MB / 0.5673 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/1.961, allocations: 397.9 kB / 0.5677 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001385/1.961, allocations: 29.3 kB / 0.5677 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.575e-05/1.961, allocations: 24.5 kB / 0.5677 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/1.961, allocations: 4 kB / 0.5677 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of Templates: time 0.063/2.024, allocations: 40.99 MB / 0.6077 GB, free: 3.082 MB / 0.545 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: 8.087853118777275] Failed to read output from testmodel.py, exit status != 0: 2.187658231705427 2.202881449 0.37706656199999994 Calling exit ...