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.8282/0.8282, allocations: 153.8 MB / 172.7 MB, free: 4.871 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.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 0.0005052/0.0005052, allocations: 15.97 kB / 249.8 MB, free: 4.375 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1648, allocations: 33.36 MB / 283.2 MB, free: 1.734 MB / 222.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.TestCentrifugalPump9): time 1.777/1.942, allocations: 307.6 MB / 0.577 GB, free: 17.35 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02857/1.97, allocations: 27.72 MB / 0.604 GB, free: 4.602 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002653/1.971, allocations: 3.344 kB / 0.604 GB, free: 4.602 MB / 478.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/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.0003826/1.971, allocations: 106.3 kB / 0.6041 GB, free: 4.555 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/1.971, allocations: 117.8 kB / 0.6042 GB, free: 4.484 MB / 478.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.02129/1.993, allocations: 8.58 MB / 0.6126 GB, free: 136 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006249/1.993, allocations: 418 kB / 0.613 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002592/1.993, allocations: 147.8 kB / 0.6132 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003218/1.994, allocations: 198.7 kB / 0.6133 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/1.994, allocations: 149.9 kB / 0.6135 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.042e-05/1.994, allocations: 32.81 kB / 0.6135 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02869/2.023, allocations: 14.27 MB / 0.6275 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000231/2.023, allocations: 183.3 kB / 0.6276 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002676/2.023, allocations: 214.4 kB / 0.6278 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01658/2.04, allocations: 7.958 MB / 0.6356 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/2.04, allocations: 0 / 0.6356 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/2.04, allocations: 4 kB / 0.6356 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.117e-06/2.04, allocations: 0 / 0.6356 GB, free: 9.312 MB / 0.4981 GB 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.003978/2.044, allocations: 1.804 MB / 0.6374 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/2.044, allocations: 12.03 kB / 0.6374 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.533e-05/2.044, allocations: 70.47 kB / 0.6375 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/2.044, allocations: 95.39 kB / 0.6375 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/2.044, allocations: 377.3 kB / 0.6379 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/2.045, allocations: 25.22 kB / 0.6379 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.439e-05/2.045, allocations: 28 kB / 0.638 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000786/2.045, allocations: 0.5506 MB / 0.6385 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/2.045, allocations: 0 / 0.6385 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/2.045, allocations: 14.38 kB / 0.6385 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/2.045, allocations: 17.02 kB / 0.6385 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008334/2.046, allocations: 0.5802 MB / 0.6391 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/2.048, allocations: 2.02 MB / 0.6411 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/2.05, allocations: 0.7568 MB / 0.6418 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003919/2.05, allocations: 261 kB / 0.642 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07674/2.127, allocations: 22.6 MB / 0.6641 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/2.127, allocations: 34.8 kB / 0.6641 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=37): time 2.234e-06/2.127, allocations: 0 / 0.6641 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37): time 0.005103/2.132, allocations: 1.754 MB / 0.6659 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/2.132, allocations: 55.88 kB / 0.6659 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009876/2.133, allocations: 0.8022 MB / 0.6667 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/2.133, allocations: 29.7 kB / 0.6667 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/2.133, allocations: 372.8 kB / 0.6671 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/2.133, allocations: 126.8 kB / 0.6672 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/2.133, allocations: 65.64 kB / 0.6673 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001333/2.134, allocations: 325.9 kB / 0.6676 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/2.134, allocations: 239.9 kB / 0.6678 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004024/2.134, allocations: 298.5 kB / 0.6681 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007664/2.135, allocations: 0.5601 MB / 0.6686 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/2.135, allocations: 0.8438 kB / 0.6686 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001372/2.137, allocations: 0.9281 MB / 0.6695 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/2.137, allocations: 4 kB / 0.6695 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/2.137, allocations: 4 kB / 0.6696 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004556/2.141, allocations: 1.012 MB / 0.6705 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/2.141, allocations: 15.98 kB / 0.6706 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/2.143, allocations: 1.79 MB / 0.6723 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/2.144, allocations: 51.67 kB / 0.6724 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/2.144, allocations: 8 kB / 0.6724 GB, free: 3.348 MB / 0.5294 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.0002883/2.144, allocations: 242.8 kB / 0.6726 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/2.144, allocations: 83.44 kB / 0.6727 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/2.146, allocations: 1.103 MB / 0.6737 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001392/2.147, allocations: 0.9217 MB / 0.6746 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/2.147, allocations: 0.5625 kB / 0.6746 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/2.147, allocations: 0 / 0.6746 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002925/2.15, allocations: 1.984 MB / 0.6766 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/2.15, allocations: 3.984 kB / 0.6766 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.412e-05/2.15, allocations: 21.25 kB / 0.6766 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002484/2.153, allocations: 0.7376 MB / 0.6773 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/2.153, allocations: 8 kB / 0.6773 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/2.155, allocations: 1.815 MB / 0.6791 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/2.155, allocations: 0 / 0.6791 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/2.156, allocations: 1.13 MB / 0.6802 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/2.157, allocations: 108.2 kB / 0.6803 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.74e-05/2.157, allocations: 11.98 kB / 0.6803 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/2.157, allocations: 15.94 kB / 0.6803 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/2.157, allocations: 27.89 kB / 0.6804 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/2.157, allocations: 11.98 kB / 0.6804 GB, free: 11.01 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006536/2.158, allocations: 0.5614 MB / 0.6809 GB, free: 10.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/2.158, allocations: 0 / 0.6809 GB, free: 10.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002681/2.16, allocations: 1.15 MB / 0.6821 GB, free: 9.301 MB / 0.545 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.007087/2.167, allocations: 3.194 MB / 0.6852 GB, free: 6.105 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00141/2.169, allocations: 0.6891 MB / 0.6858 GB, free: 5.406 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/2.169, allocations: 0 / 0.6858 GB, free: 5.406 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007873/2.17, allocations: 404.9 kB / 0.6862 GB, free: 5.016 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006798/2.17, allocations: 87.56 kB / 0.6863 GB, free: 4.934 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/2.181, allocations: 7.686 MB / 0.6938 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/2.182, allocations: 381.2 kB / 0.6942 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.508e-05/2.182, allocations: 24.81 kB / 0.6942 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/2.182, allocations: 263.3 kB / 0.6945 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of SimCode: time 7.31e-07/2.182, allocations: 0 / 0.6945 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09726/2.279, allocations: 51.75 MB / 0.745 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/17.1, allocations: 3.562 kB / 0.745 GB, free: 9.383 MB / 0.6075 GB " [Timeout remaining time 643] (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: 19.126244856975973] Failed to read output from testmodel.py, exit status != 0: 17.432628901209682 17.675365917 15.632953757 Calling exit ...