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.5879/0.5879, allocations: 120.4 MB / 139.5 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: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.796e-06/2.796e-06, allocations: 0 / 216.7 MB, free: 8.598 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.593e-05, allocations: 3.812 kB / 216.7 MB, free: 8.594 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.TestCentrifugalPump9): time 1.059/1.059, allocations: 254.4 MB / 471.1 MB, free: 8.816 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2966/1.356, allocations: 27.7 MB / 498.8 MB, free: 0.9805 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002479/1.356, allocations: 1.75 kB / 498.8 MB, free: 0.9805 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/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.0004145/1.356, allocations: 107.9 kB / 498.9 MB, free: 0.9805 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/1.357, allocations: 123.6 kB / 499 MB, free: 0.9805 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.02161/1.378, allocations: 8.656 MB / 0.4958 GB, free: 264 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007349/1.379, allocations: 442.2 kB / 0.4962 GB, free: 112 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002859/1.379, allocations: 154.2 kB / 0.4963 GB, free: 60 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004501/1.38, allocations: 267.9 kB / 0.4966 GB, free: 0 / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/1.38, allocations: 126.2 kB / 0.4967 GB, free: 15.95 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.343e-05/1.38, allocations: 32 kB / 0.4968 GB, free: 15.95 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02535/1.405, allocations: 14.29 MB / 0.5107 GB, free: 8.191 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002529/1.406, allocations: 189.9 kB / 0.5109 GB, free: 8.012 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002819/1.406, allocations: 147.9 kB / 0.511 GB, free: 7.875 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02116/1.427, allocations: 10.01 MB / 0.5208 GB, free: 14.34 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/1.427, allocations: 0.625 kB / 0.5208 GB, free: 14.34 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.174e-06/1.427, allocations: 0 / 0.5208 GB, free: 14.34 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.221e-05/1.427, allocations: 4.875 kB / 0.5208 GB, free: 14.33 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.004757/1.432, allocations: 1.804 MB / 0.5226 GB, free: 12.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/1.432, allocations: 8.031 kB / 0.5226 GB, free: 12.49 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.137e-05/1.432, allocations: 71.66 kB / 0.5226 GB, free: 12.41 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/1.432, allocations: 91.89 kB / 0.5227 GB, free: 12.32 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/1.433, allocations: 373.5 kB / 0.5231 GB, free: 11.95 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/1.433, allocations: 26.03 kB / 0.5231 GB, free: 11.93 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/1.433, allocations: 30.62 kB / 0.5231 GB, free: 11.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00061/1.433, allocations: 0.5493 MB / 0.5237 GB, free: 11.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/1.433, allocations: 3 kB / 0.5237 GB, free: 11.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/1.433, allocations: 17.12 kB / 0.5237 GB, free: 11.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/1.433, allocations: 13.17 kB / 0.5237 GB, free: 11.29 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006215/1.434, allocations: 0.5788 MB / 0.5243 GB, free: 10.73 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/1.436, allocations: 2.028 MB / 0.5263 GB, free: 8.648 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008665/1.437, allocations: 0.7496 MB / 0.527 GB, free: 7.898 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/1.437, allocations: 266.3 kB / 0.5272 GB, free: 7.637 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0385/1.475, allocations: 22.6 MB / 0.5493 GB, free: 1.191 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/1.475, allocations: 31.3 kB / 0.5493 GB, free: 1.152 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 4.699e-06/1.475, allocations: 1.734 kB / 0.5493 GB, free: 1.152 MB / 490.7 MB Notification: Performance of matching and sorting (n=37): time 0.0032/1.478, allocations: 1.743 MB / 0.551 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/1.479, allocations: 56.11 kB / 0.5511 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006728/1.479, allocations: 0.8061 MB / 0.5519 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/1.479, allocations: 33.7 kB / 0.5519 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/1.479, allocations: 365.9 kB / 0.5523 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.931e-05/1.479, allocations: 126.4 kB / 0.5524 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.507e-05/1.48, allocations: 65.64 kB / 0.5524 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.329e-05/1.48, allocations: 322.9 kB / 0.5528 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/1.48, allocations: 247.9 kB / 0.553 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/1.48, allocations: 305.4 kB / 0.5533 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004815/1.481, allocations: 0.5462 MB / 0.5538 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/1.481, allocations: 4 kB / 0.5538 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008489/1.482, allocations: 0.9273 MB / 0.5547 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/1.482, allocations: 4 kB / 0.5547 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/1.482, allocations: 4 kB / 0.5547 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002385/1.484, allocations: 1.014 MB / 0.5557 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.425e-05/1.484, allocations: 15.19 kB / 0.5557 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/1.485, allocations: 1.773 MB / 0.5575 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/1.486, allocations: 51.67 kB / 0.5575 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/1.486, allocations: 10.62 kB / 0.5575 GB, free: 8.684 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 (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.0002719/1.486, allocations: 249.7 kB / 0.5578 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.904e-05/1.486, allocations: 87.44 kB / 0.5578 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/1.487, allocations: 1.099 MB / 0.5589 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008453/1.488, allocations: 0.918 MB / 0.5598 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.488, allocations: 0 / 0.5598 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/1.488, allocations: 3.984 kB / 0.5598 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/1.49, allocations: 1.991 MB / 0.5618 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.49, allocations: 1 kB / 0.5618 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.86e-05/1.49, allocations: 23.17 kB / 0.5618 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00134/1.491, allocations: 0.7383 MB / 0.5625 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/1.491, allocations: 11.98 kB / 0.5625 GB, free: 3.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/1.493, allocations: 1.816 MB / 0.5643 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.493, allocations: 2 kB / 0.5643 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009886/1.494, allocations: 1.126 MB / 0.5654 GB, free: 0.5391 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/1.494, allocations: 112.2 kB / 0.5655 GB, free: 440 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/1.494, allocations: 8 kB / 0.5655 GB, free: 432 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/1.494, allocations: 11.98 kB / 0.5655 GB, free: 420 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/1.494, allocations: 23.95 kB / 0.5655 GB, free: 396 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/1.494, allocations: 16 kB / 0.5656 GB, free: 380 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004371/1.494, allocations: 0.5575 MB / 0.5661 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/1.494, allocations: 0 / 0.5661 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002975/1.497, allocations: 1.15 MB / 0.5672 GB, free: 14.67 MB / 0.5105 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.005662/1.503, allocations: 3.362 MB / 0.5705 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001011/1.504, allocations: 0.6916 MB / 0.5712 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.504, allocations: 0 / 0.5712 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004293/1.504, allocations: 399.4 kB / 0.5716 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/1.505, allocations: 96.39 kB / 0.5717 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00837/1.513, allocations: 7.663 MB / 0.5791 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/1.514, allocations: 392.2 kB / 0.5795 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.745e-05/1.514, allocations: 20.67 kB / 0.5795 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/1.514, allocations: 264.4 kB / 0.5798 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of SimCode: time 1.453e-06/1.514, allocations: 4 kB / 0.5798 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0761/1.59, allocations: 52.04 MB / 0.6306 GB, free: 14.17 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/12.4, allocations: 4.188 kB / 0.6306 GB, free: 14.17 MB / 0.573 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump9_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump9.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.919634140096605] Failed to read output from testmodel.py, exit status != 0: 12.816205624490976 12.711356051 11.281930591 Calling exit ...