Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.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.8279/0.8279, 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.TestCentrifugalPump13,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005154/0.0005154, allocations: 15.97 kB / 249.8 MB, free: 4.371 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1653, allocations: 33.36 MB / 283.2 MB, free: 1.746 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.TestCentrifugalPump13): time 1.815/1.98, allocations: 307.7 MB / 0.577 GB, free: 17.35 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02745/2.007, allocations: 27.71 MB / 0.604 GB, free: 4.59 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002879/2.008, allocations: 2.156 kB / 0.604 GB, free: 4.59 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). Notification: Performance of NFTyping.typeComponents: time 0.0004094/2.008, allocations: 101.7 kB / 0.6041 GB, free: 4.547 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/2.008, allocations: 120 kB / 0.6042 GB, free: 4.477 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.02067/2.029, allocations: 8.588 MB / 0.6126 GB, free: 132 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006724/2.03, allocations: 436.5 kB / 0.6131 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002707/2.03, allocations: 163.9 kB / 0.6132 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003391/2.03, allocations: 195.1 kB / 0.6134 GB, free: 15.65 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/2.03, allocations: 172.9 kB / 0.6136 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.983e-05/2.031, allocations: 31.78 kB / 0.6136 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02873/2.059, allocations: 14.29 MB / 0.6275 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002544/2.06, allocations: 196.1 kB / 0.6277 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002811/2.06, allocations: 218.3 kB / 0.6279 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01811/2.078, allocations: 7.986 MB / 0.6357 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/2.078, allocations: 4 kB / 0.6357 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/2.078, allocations: 0 / 0.6357 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.022e-05/2.078, allocations: 0 / 0.6357 GB, free: 9.199 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.004348/2.082, allocations: 1.846 MB / 0.6375 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/2.082, allocations: 8.031 kB / 0.6375 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.659e-05/2.082, allocations: 70.53 kB / 0.6376 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/2.083, allocations: 91.39 kB / 0.6377 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/2.083, allocations: 377.3 kB / 0.6381 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/2.083, allocations: 25.45 kB / 0.6381 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/2.083, allocations: 28 kB / 0.6381 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008066/2.084, allocations: 482.7 kB / 0.6386 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/2.084, allocations: 0.75 kB / 0.6386 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/2.084, allocations: 16 kB / 0.6386 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/2.084, allocations: 9.031 kB / 0.6386 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009094/2.085, allocations: 499 kB / 0.6391 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/2.087, allocations: 1.549 MB / 0.6406 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009979/2.088, allocations: 0.5031 MB / 0.6411 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003853/2.088, allocations: 202.8 kB / 0.6413 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07543/2.164, allocations: 22.6 MB / 0.6633 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/2.164, allocations: 43.25 kB / 0.6634 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.144e-06/2.164, allocations: 0 / 0.6634 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=34): time 0.003082/2.167, allocations: 0.9718 MB / 0.6643 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/2.167, allocations: 63.34 kB / 0.6644 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/2.168, allocations: 0.8295 MB / 0.6652 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/2.168, allocations: 30.73 kB / 0.6652 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000375/2.169, allocations: 400.5 kB / 0.6656 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/2.169, allocations: 126.9 kB / 0.6657 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/2.169, allocations: 70.02 kB / 0.6658 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001641/2.169, allocations: 322 kB / 0.6661 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/2.169, allocations: 204.6 kB / 0.6663 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004655/2.17, allocations: 276.3 kB / 0.6666 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000827/2.171, allocations: 464.8 kB / 0.667 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/2.171, allocations: 4 kB / 0.667 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001266/2.172, allocations: 0.678 MB / 0.6677 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/2.172, allocations: 11.92 kB / 0.6677 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/2.172, allocations: 5 kB / 0.6677 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003803/2.176, allocations: 0.6426 MB / 0.6683 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/2.176, allocations: 59.89 kB / 0.6684 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009283/2.177, allocations: 0.7763 MB / 0.6691 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/2.177, allocations: 59.69 kB / 0.6692 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/2.177, allocations: 15.98 kB / 0.6692 GB, free: 6.605 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 (sinkP.C.a,sourceP.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 (26): * Single equations (assignments): 25 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003006/2.178, allocations: 246.7 kB / 0.6694 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/2.178, allocations: 84.56 kB / 0.6695 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/2.179, allocations: 0.7935 MB / 0.6703 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001056/2.18, allocations: 0.5818 MB / 0.6709 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/2.18, allocations: 4 kB / 0.6709 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/2.18, allocations: 4 kB / 0.6709 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/2.183, allocations: 1.371 MB / 0.6722 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/2.183, allocations: 0 / 0.6722 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/2.183, allocations: 55.91 kB / 0.6723 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001854/2.185, allocations: 389.3 kB / 0.6726 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/2.185, allocations: 8.75 kB / 0.6726 GB, free: 3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008938/2.186, allocations: 0.823 MB / 0.6734 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/2.186, allocations: 0 / 0.6734 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/2.187, allocations: 0.7567 MB / 0.6742 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/2.187, allocations: 111.3 kB / 0.6743 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.978e-05/2.187, allocations: 12 kB / 0.6743 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/2.187, allocations: 28.78 kB / 0.6743 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/2.188, allocations: 28.83 kB / 0.6744 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/2.188, allocations: 4 kB / 0.6744 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006729/2.188, allocations: 0.5848 MB / 0.6749 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/2.188, allocations: 0 / 0.6749 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00275/2.191, allocations: 1.169 MB / 0.6761 GB, free: 15.45 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 (24): * Single equations (assignments): 23 * 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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0061/2.197, allocations: 2.835 MB / 0.6788 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001377/2.198, allocations: 0.5736 MB / 0.6794 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/2.198, allocations: 0 / 0.6794 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006696/2.199, allocations: 306 kB / 0.6797 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006522/2.2, allocations: 93.5 kB / 0.6798 GB, free: 11.65 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/2.21, allocations: 6.701 MB / 0.6863 GB, free: 4.793 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/2.21, allocations: 385.4 kB / 0.6867 GB, free: 4.391 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001853/2.211, allocations: 42.2 kB / 0.6867 GB, free: 4.355 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/2.211, allocations: 259.3 kB / 0.687 GB, free: 4.102 MB / 0.545 GB Notification: Performance of SimCode: time 1.253e-06/2.211, allocations: 0 / 0.687 GB, free: 4.102 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/2.311, allocations: 51.53 MB / 0.7373 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.63/16.94, allocations: 6.031 kB / 0.7373 GB, free: 1.277 MB / 0.5919 GB " [Timeout remaining time 643] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.978006336838007] Failed to read output from testmodel.py, exit status != 0: 17.251821405254304 17.491137766 15.410125069 Calling exit ...