Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.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.4686/0.4686, allocations: 111.6 MB / 131.4 MB, free: 3.918 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 176.5 MB, free: 8.887 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.247e-05, allocations: 3.078 kB / 176.5 MB, free: 8.883 MB / 170.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.TestStaticCentrifugalPump1): time 1.049/1.049, allocations: 257.2 MB / 433.7 MB, free: 196 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02736/1.077, allocations: 32.47 MB / 466.2 MB, free: 15.6 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/1.077, allocations: 4 kB / 466.2 MB, free: 15.59 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/StaticCentrifugalPump.mo:33:3-34:80: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/StaticCentrifugalPump.mo:35:3-36:78: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/BoundaryConditions/SourceP.mo:19:3-20:78: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/SinkP.mo:19:3-20:80:writable] Warning: Connector C 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.0003028/1.077, allocations: 103.3 kB / 466.3 MB, free: 15.49 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/1.077, allocations: 123 kB / 466.4 MB, free: 15.37 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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.01856/1.096, allocations: 9.822 MB / 476.2 MB, free: 5.504 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004759/1.096, allocations: 422 kB / 476.6 MB, free: 5.09 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/1.096, allocations: 120.8 kB / 476.7 MB, free: 4.969 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002854/1.097, allocations: 251.3 kB / 477 MB, free: 4.723 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/1.097, allocations: 99.7 kB / 477.1 MB, free: 4.625 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/1.097, allocations: 20 kB / 477.1 MB, free: 4.605 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.216/1.313, allocations: 16.77 MB / 493.9 MB, free: 8.84 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.08e-05/1.313, allocations: 59.66 kB / 493.9 MB, free: 8.84 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/1.313, allocations: 101.2 kB / 494 MB, free: 8.84 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02196/1.335, allocations: 10.76 MB / 0.493 GB, free: 5.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/1.335, allocations: 0 / 0.493 GB, free: 5.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.723e-06/1.335, allocations: 0.9375 kB / 0.493 GB, free: 5.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/1.335, allocations: 0 / 0.493 GB, free: 5.91 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.003869/1.339, allocations: 1.562 MB / 0.4945 GB, free: 4.805 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/1.339, allocations: 12.55 kB / 0.4945 GB, free: 4.801 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.644e-05/1.339, allocations: 50.8 kB / 0.4945 GB, free: 4.777 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/1.339, allocations: 200.3 kB / 0.4947 GB, free: 4.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/1.339, allocations: 22.06 kB / 0.4947 GB, free: 4.582 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/1.339, allocations: 23.91 kB / 0.4948 GB, free: 4.574 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/1.34, allocations: 266.8 kB / 0.495 GB, free: 4.379 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/1.34, allocations: 0 / 0.495 GB, free: 4.379 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/1.34, allocations: 11.25 kB / 0.495 GB, free: 4.371 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/1.34, allocations: 10.8 kB / 0.495 GB, free: 4.367 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/1.34, allocations: 97.75 kB / 0.4951 GB, free: 4.348 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01892/1.359, allocations: 9.73 MB / 0.5046 GB, free: 14.67 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/1.359, allocations: 121.5 kB / 0.5048 GB, free: 14.55 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.426e-05/1.359, allocations: 50.7 kB / 0.5048 GB, free: 14.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06947/1.428, allocations: 38.13 MB / 0.542 GB, free: 8.457 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/1.428, allocations: 37.39 kB / 0.5421 GB, free: 8.41 MB / 474.7 MB Notification: Performance of pre-optimization done (n=41): time 3.055e-06/1.428, allocations: 1.125 kB / 0.5421 GB, free: 8.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=41): time 0.001223/1.43, allocations: 456.7 kB / 0.5425 GB, free: 7.961 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/1.43, allocations: 51.41 kB / 0.5426 GB, free: 7.898 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/1.43, allocations: 258.8 kB / 0.5428 GB, free: 7.652 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/1.43, allocations: 25.7 kB / 0.5428 GB, free: 7.621 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.827e-05/1.43, allocations: 213.7 kB / 0.543 GB, free: 7.414 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.876e-05/1.43, allocations: 143 kB / 0.5432 GB, free: 7.285 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.715e-05/1.43, allocations: 76.52 kB / 0.5433 GB, free: 7.211 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/1.43, allocations: 0.5135 MB / 0.5438 GB, free: 6.699 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.125e-05/1.43, allocations: 37.09 kB / 0.5438 GB, free: 6.664 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.876e-05/1.43, allocations: 102.2 kB / 0.5439 GB, free: 6.555 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/1.431, allocations: 154.2 kB / 0.544 GB, free: 6.391 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.431, allocations: 0 / 0.544 GB, free: 6.391 MB / 474.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006436/1.431, allocations: 352 kB / 0.5444 GB, free: 6.055 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/1.431, allocations: 4 kB / 0.5444 GB, free: 6.051 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.431, allocations: 0 / 0.5444 GB, free: 6.051 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003513/1.432, allocations: 203.9 kB / 0.5446 GB, free: 5.855 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.227e-05/1.432, allocations: 15.98 kB / 0.5446 GB, free: 5.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004745/1.432, allocations: 0.9332 MB / 0.5455 GB, free: 4.891 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.811e-05/1.432, allocations: 27.73 kB / 0.5455 GB, free: 4.863 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/1.432, allocations: 8 kB / 0.5455 GB, free: 4.855 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (StaticCentrifugalPump1.C1.a,StaticCentrifugalPump1.C2.b,sourceP.C.b,sinkP.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 9.397e-05/1.432, allocations: 164.6 kB / 0.5457 GB, free: 4.684 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/1.432, allocations: 27.86 kB / 0.5457 GB, free: 4.656 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005646/1.433, allocations: 0.8076 MB / 0.5465 GB, free: 3.895 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001518/1.433, allocations: 183.2 kB / 0.5467 GB, free: 3.711 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/1.433, allocations: 0 / 0.5467 GB, free: 3.711 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.433, allocations: 0 / 0.5467 GB, free: 3.711 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/1.434, allocations: 0.6503 MB / 0.5473 GB, free: 3.059 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/1.434, allocations: 4 kB / 0.5473 GB, free: 3.055 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.337e-05/1.434, allocations: 24.61 kB / 0.5473 GB, free: 3.035 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002916/1.434, allocations: 154.8 kB / 0.5475 GB, free: 2.887 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/1.434, allocations: 8 kB / 0.5475 GB, free: 2.879 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004311/1.434, allocations: 0.9239 MB / 0.5484 GB, free: 1.938 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.434, allocations: 3.938 kB / 0.5484 GB, free: 1.934 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/1.435, allocations: 379 kB / 0.5488 GB, free: 1.551 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/1.435, allocations: 31.77 kB / 0.5488 GB, free: 1.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/1.435, allocations: 11.95 kB / 0.5488 GB, free: 1.508 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.314e-05/1.435, allocations: 9.75 kB / 0.5488 GB, free: 1.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/1.435, allocations: 11.97 kB / 0.5488 GB, free: 1.488 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/1.435, allocations: 4 kB / 0.5488 GB, free: 1.484 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001009/1.435, allocations: 222.2 kB / 0.549 GB, free: 1.273 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/1.435, allocations: 0 / 0.549 GB, free: 1.273 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002594/1.438, allocations: 1.22 MB / 0.5502 GB, free: 52 kB / 474.7 MB 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 (13): * Single equations (assignments): 12 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003948/1.441, allocations: 1.976 MB / 0.5522 GB, free: 14.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004127/1.442, allocations: 228.4 kB / 0.5524 GB, free: 14.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.442, allocations: 0 / 0.5524 GB, free: 14.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/1.442, allocations: 112 kB / 0.5525 GB, free: 13.97 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/1.442, allocations: 127.1 kB / 0.5526 GB, free: 13.85 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/1.443, allocations: 0.5664 MB / 0.5532 GB, free: 13.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.645e-05/1.443, allocations: 96.3 kB / 0.5532 GB, free: 13.16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.338e-05/1.444, allocations: 20.38 kB / 0.5533 GB, free: 13.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/1.444, allocations: 138.1 kB / 0.5534 GB, free: 13.01 MB / 490.7 MB Notification: Performance of SimCode: time 9.11e-07/1.444, allocations: 4 kB / 0.5534 GB, free: 13.01 MB / 490.7 MB Notification: Performance of Templates: time 0.05995/1.504, allocations: 50.41 MB / 0.6026 GB, free: 10.82 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.410089666955173]