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.8533/0.8533, allocations: 153.8 MB / 170.9 MB, free: 13.94 MB / 142.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: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.000491/0.000491, allocations: 17.14 kB / 247 MB, free: 14.85 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06274/0.06323, allocations: 33.35 MB / 280.4 MB, free: 15.14 MB / 238.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.TestStaticCentrifugalPump1): time 1.748/1.811, allocations: 307.4 MB / 0.574 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04433/1.856, allocations: 34.66 MB / 0.6079 GB, free: 7.617 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002062/1.856, allocations: 0 / 0.6079 GB, free: 7.617 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/StaticCentrifugalPump.mo:60:3-62: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/StaticCentrifugalPump.mo:63:3-65: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/BoundaryConditions/SourceP.mo:30:3-31:45: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:33:3-34:47: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.0004208/1.856, allocations: 134.5 kB / 0.608 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000241/1.857, allocations: 127.1 kB / 0.6081 GB, free: 7.363 MB / 494.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.02552/1.882, allocations: 9.769 MB / 0.6176 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006299/1.883, allocations: 406.2 kB / 0.618 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/1.883, allocations: 100.6 kB / 0.6181 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003056/1.883, allocations: 179.2 kB / 0.6183 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/1.883, allocations: 135.3 kB / 0.6184 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/1.883, allocations: 24 kB / 0.6184 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03214/1.916, allocations: 17.9 MB / 0.6359 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/1.916, allocations: 55.78 kB / 0.636 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002358/1.916, allocations: 155.2 kB / 0.6361 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.02061/1.937, allocations: 8.482 MB / 0.6444 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/1.937, allocations: 0 / 0.6444 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.825e-06/1.937, allocations: 0 / 0.6444 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.618e-06/1.937, allocations: 0 / 0.6444 GB, free: 2.113 MB / 0.5137 GB 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.004805/1.941, allocations: 1.537 MB / 0.6459 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/1.941, allocations: 8.031 kB / 0.6459 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.276e-05/1.941, allocations: 12.56 kB / 0.6459 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.944e-05/1.942, allocations: 70.47 kB / 0.646 GB, free: 428 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.564e-05/1.942, allocations: 35.75 kB / 0.646 GB, free: 392 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/1.942, allocations: 255 kB / 0.6463 GB, free: 96 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/1.942, allocations: 12.56 kB / 0.6463 GB, free: 84 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/1.942, allocations: 20 kB / 0.6463 GB, free: 64 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005731/1.943, allocations: 336.2 kB / 0.6466 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/1.943, allocations: 0 / 0.6466 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/1.943, allocations: 15.94 kB / 0.6466 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/1.943, allocations: 15.92 kB / 0.6467 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004151/1.943, allocations: 213.2 kB / 0.6469 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04111/1.984, allocations: 18.13 MB / 0.6646 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004702/1.985, allocations: 174.5 kB / 0.6647 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/1.985, allocations: 96.83 kB / 0.6648 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3478/2.333, allocations: 82.87 MB / 0.7458 GB, free: 192.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/2.333, allocations: 33.98 kB / 0.7458 GB, free: 192.1 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=41): time 2.124e-06/2.333, allocations: 0 / 0.7458 GB, free: 192.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=41): time 0.003831/2.336, allocations: 0.9305 MB / 0.7467 GB, free: 191.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/2.336, allocations: 61.14 kB / 0.7468 GB, free: 191.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/2.337, allocations: 251.5 kB / 0.747 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/2.337, allocations: 30.02 kB / 0.747 GB, free: 191.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/2.337, allocations: 158.2 kB / 0.7472 GB, free: 191.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.462e-05/2.337, allocations: 144.4 kB / 0.7473 GB, free: 191.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.458e-05/2.337, allocations: 55.22 kB / 0.7474 GB, free: 191.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.393e-05/2.337, allocations: 339.4 kB / 0.7477 GB, free: 191 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/2.337, allocations: 96.33 kB / 0.7478 GB, free: 191 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/2.337, allocations: 150.1 kB / 0.7479 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/2.338, allocations: 277.8 kB / 0.7482 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/2.338, allocations: 0 / 0.7482 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002204/2.34, allocations: 0.5928 MB / 0.7488 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/2.34, allocations: 6.188 kB / 0.7488 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/2.34, allocations: 0 / 0.7488 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007589/2.341, allocations: 223.6 kB / 0.749 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.296e-05/2.341, allocations: 19.2 kB / 0.749 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006951/2.341, allocations: 0.7409 MB / 0.7497 GB, free: 190.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/2.342, allocations: 41.44 kB / 0.7498 GB, free: 190 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/2.342, allocations: 12.52 kB / 0.7498 GB, free: 190 MB / 0.5919 GB 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.0001044/2.342, allocations: 138.3 kB / 0.7499 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/2.342, allocations: 32.81 kB / 0.7499 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000798/2.343, allocations: 0.7677 MB / 0.7507 GB, free: 189.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004134/2.343, allocations: 283.7 kB / 0.751 GB, free: 189.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/2.343, allocations: 3.719 kB / 0.751 GB, free: 189.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/2.343, allocations: 0 / 0.751 GB, free: 189.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009689/2.344, allocations: 0.8607 MB / 0.7518 GB, free: 189 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/2.344, allocations: 1.75 kB / 0.7518 GB, free: 189 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.837e-05/2.344, allocations: 27.23 kB / 0.7518 GB, free: 189 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005732/2.345, allocations: 192.4 kB / 0.752 GB, free: 188.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/2.345, allocations: 12.67 kB / 0.752 GB, free: 188.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005857/2.345, allocations: 0.7508 MB / 0.7528 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/2.345, allocations: 0 / 0.7528 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004866/2.346, allocations: 423.8 kB / 0.7532 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.015e-05/2.346, allocations: 129.4 kB / 0.7533 GB, free: 188.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/2.346, allocations: 9.859 kB / 0.7533 GB, free: 188.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/2.346, allocations: 3.75 kB / 0.7533 GB, free: 188.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/2.346, allocations: 19.47 kB / 0.7533 GB, free: 188 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/2.346, allocations: 3.812 kB / 0.7533 GB, free: 188 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000196/2.346, allocations: 258.3 kB / 0.7536 GB, free: 187.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/2.346, allocations: 4 kB / 0.7536 GB, free: 187.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002744/2.349, allocations: 1.21 MB / 0.7548 GB, free: 187.9 MB / 0.5919 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 (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.004767/2.354, allocations: 2.598 MB / 0.7573 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000686/2.354, allocations: 299.4 kB / 0.7576 GB, free: 186.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/2.354, allocations: 0 / 0.7576 GB, free: 186.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003042/2.355, allocations: 136.5 kB / 0.7577 GB, free: 186.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007054/2.355, allocations: 140.4 kB / 0.7578 GB, free: 186.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007176/2.363, allocations: 3.891 MB / 0.7616 GB, free: 184.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/2.363, allocations: 0.7785 MB / 0.7624 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001017/2.363, allocations: 30.97 kB / 0.7624 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/2.363, allocations: 98.84 kB / 0.7625 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/2.363, allocations: 0 / 0.7625 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06626/2.429, allocations: 49.19 MB / 0.8106 GB, free: 135 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/16.47, allocations: 16.47 kB / 0.8106 GB, free: 135 MB / 0.5919 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.58966339600738] Failed to read output from testmodel.py, exit status != 0: 16.787829481007066 16.801784161 14.862306367 Calling exit ...