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.7885/0.7885, allocations: 111.6 MB / 131 MB, free: 5.078 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 3.266e-06/3.266e-06, allocations: 0 / 175.7 MB, free: 9.449 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.31e-05/3.637e-05, allocations: 2.312 kB / 175.7 MB, free: 9.445 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.641/1.641, allocations: 254.6 MB / 430.3 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04845/1.69, allocations: 30.58 MB / 460.9 MB, free: 1.809 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/1.69, allocations: 0 / 460.9 MB, free: 1.809 MB / 410.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.0003758/1.69, allocations: 115.3 kB / 461 MB, free: 1.695 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002631/1.69, allocations: 127 kB / 461.2 MB, free: 1.57 MB / 410.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.02689/1.717, allocations: 9.799 MB / 471 MB, free: 7.734 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006634/1.718, allocations: 422 kB / 471.4 MB, free: 7.32 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/1.718, allocations: 120.7 kB / 471.5 MB, free: 7.203 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004282/1.719, allocations: 247.3 kB / 471.7 MB, free: 6.961 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/1.719, allocations: 107.6 kB / 471.8 MB, free: 6.855 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.445e-05/1.719, allocations: 20 kB / 471.9 MB, free: 6.836 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03342/1.752, allocations: 16.77 MB / 488.6 MB, free: 6.039 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/1.752, allocations: 59.73 kB / 488.7 MB, free: 5.98 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002028/1.753, allocations: 99.77 kB / 488.8 MB, free: 5.883 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1961/1.949, allocations: 10.86 MB / 499.6 MB, free: 22.49 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.949, allocations: 0 / 499.6 MB, free: 22.49 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.422e-06/1.949, allocations: 0 / 499.6 MB, free: 22.49 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/1.949, allocations: 1.094 kB / 499.6 MB, free: 22.49 MB / 442.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.005308/1.954, allocations: 1.451 MB / 0.4893 GB, free: 21.64 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/1.954, allocations: 13.48 kB / 0.4894 GB, free: 21.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.979e-05/1.954, allocations: 57.88 kB / 0.4894 GB, free: 21.62 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/1.954, allocations: 187.6 kB / 0.4896 GB, free: 21.47 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/1.954, allocations: 15.94 kB / 0.4896 GB, free: 21.47 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/1.954, allocations: 23.66 kB / 0.4896 GB, free: 21.47 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004732/1.955, allocations: 337.7 kB / 0.49 GB, free: 21.38 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/1.955, allocations: 0 / 0.49 GB, free: 21.38 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/1.955, allocations: 10.06 kB / 0.49 GB, free: 21.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/1.955, allocations: 13.73 kB / 0.49 GB, free: 21.38 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003758/1.955, allocations: 222.1 kB / 0.4902 GB, free: 21.38 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03262/1.988, allocations: 10.87 MB / 0.5008 GB, free: 20.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/1.988, allocations: 171.2 kB / 0.501 GB, free: 20.06 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/1.988, allocations: 103.7 kB / 0.5011 GB, free: 20.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1418/2.13, allocations: 43.63 MB / 0.5437 GB, free: 2.027 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/2.13, allocations: 42.05 kB / 0.5437 GB, free: 1.98 MB / 458.7 MB Notification: Performance of pre-optimization done (n=41): time 1.973e-06/2.13, allocations: 0 / 0.5437 GB, free: 1.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=41): time 0.004847/2.135, allocations: 0.8544 MB / 0.5445 GB, free: 1.258 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/2.135, allocations: 55.41 kB / 0.5446 GB, free: 1.191 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/2.136, allocations: 199.2 kB / 0.5448 GB, free: 1.02 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/2.136, allocations: 25.7 kB / 0.5448 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/2.136, allocations: 172.5 kB / 0.545 GB, free: 0.8398 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/2.136, allocations: 139 kB / 0.5451 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/2.136, allocations: 59.64 kB / 0.5452 GB, free: 0.6719 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/2.136, allocations: 338.5 kB / 0.5455 GB, free: 348 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/2.136, allocations: 100.9 kB / 0.5456 GB, free: 288 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/2.137, allocations: 156.4 kB / 0.5457 GB, free: 172 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/2.137, allocations: 275.7 kB / 0.546 GB, free: 15.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/2.137, allocations: 0 / 0.546 GB, free: 15.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00272/2.14, allocations: 0.6058 MB / 0.5466 GB, free: 15.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/2.14, allocations: 4 kB / 0.5466 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/2.14, allocations: 0 / 0.5466 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008987/2.141, allocations: 222.8 kB / 0.5468 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.629e-05/2.141, allocations: 21.27 kB / 0.5468 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/2.142, allocations: 0.741 MB / 0.5476 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/2.142, allocations: 25.84 kB / 0.5476 GB, free: 14.58 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/2.142, allocations: 9.688 kB / 0.5476 GB, free: 14.57 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 (sinkP.C.a,sourceP.C.b,StaticCentrifugalPump1.C2.b,StaticCentrifugalPump1.C1.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 0.0001642/2.142, allocations: 141.6 kB / 0.5477 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.587e-05/2.142, allocations: 37.36 kB / 0.5478 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/2.143, allocations: 0.7796 MB / 0.5485 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005592/2.144, allocations: 288.8 kB / 0.5488 GB, free: 13.59 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/2.144, allocations: 4 kB / 0.5488 GB, free: 13.59 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/2.144, allocations: 0 / 0.5488 GB, free: 13.59 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/2.145, allocations: 0.7571 MB / 0.5495 GB, free: 12.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/2.145, allocations: 4 kB / 0.5495 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.478e-05/2.145, allocations: 25.23 kB / 0.5496 GB, free: 12.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007516/2.146, allocations: 198.1 kB / 0.5498 GB, free: 12.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/2.146, allocations: 5.797 kB / 0.5498 GB, free: 12.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/2.147, allocations: 0.7638 MB / 0.5505 GB, free: 12.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/2.147, allocations: 48 / 0.5505 GB, free: 12.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007892/2.148, allocations: 421.7 kB / 0.5509 GB, free: 11.67 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.255e-05/2.148, allocations: 39.77 kB / 0.5509 GB, free: 11.63 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.947e-05/2.148, allocations: 15.89 kB / 0.551 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/2.149, allocations: 8 kB / 0.551 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/2.149, allocations: 11.97 kB / 0.551 GB, free: 11.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/2.149, allocations: 4 kB / 0.551 GB, free: 11.59 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002809/2.149, allocations: 225.1 kB / 0.5512 GB, free: 11.37 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/2.149, allocations: 0 / 0.5512 GB, free: 11.37 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004321/2.153, allocations: 1.227 MB / 0.5524 GB, free: 10.14 MB / 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.005937/2.159, allocations: 1.899 MB / 0.5542 GB, free: 8.484 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008674/2.16, allocations: 306.4 kB / 0.5545 GB, free: 8.191 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/2.16, allocations: 0 / 0.5545 GB, free: 8.191 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004005/2.16, allocations: 132 kB / 0.5547 GB, free: 8.07 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000785/2.161, allocations: 120.1 kB / 0.5548 GB, free: 7.961 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/2.162, allocations: 0.5809 MB / 0.5553 GB, free: 7.363 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/2.163, allocations: 173.9 kB / 0.5555 GB, free: 7.176 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.381e-05/2.163, allocations: 19.72 kB / 0.5555 GB, free: 7.16 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/2.163, allocations: 25.59 kB / 0.5556 GB, free: 7.137 MB / 474.7 MB Notification: Performance of SimCode: time 6.41e-07/2.163, allocations: 0 / 0.5556 GB, free: 7.137 MB / 474.7 MB Notification: Performance of Templates: time 0.07148/2.234, allocations: 42.95 MB / 0.5975 GB, free: 12.39 MB / 0.5105 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.185933403088711]