Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 118 kB / 17.84 MB, free: 5.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002474/0.002474, allocations: 203.8 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.655/1.655, allocations: 230.6 MB / 254.2 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.01/1.01, allocations: 150 MB / 460.2 MB, free: 5.293 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Media.Examples.SteamProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 64.34 kB / 0.6368 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1997, allocations: 89.13 MB / 0.7238 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.1803/0.3799, allocations: 139.3 MB / 0.8599 GB, free: 8.133 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.5397/0.9196, allocations: 22.79 MB / 0.8822 GB, free: 2.676 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/0.9198, allocations: 6.031 kB / 0.8822 GB, free: 2.676 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.9201, allocations: 47.44 kB / 0.8822 GB, free: 2.676 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0002992/0.9204, allocations: 92.44 kB / 0.8823 GB, free: 2.672 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.02223/0.9427, allocations: 6.981 MB / 0.8891 GB, free: 2.539 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0005745/0.9432, allocations: 257.5 kB / 0.8894 GB, free: 2.539 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 5.816e-05/0.9433, allocations: 7.75 kB / 0.8894 GB, free: 2.539 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004052/0.9437, allocations: 152 kB / 0.8895 GB, free: 2.539 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.9439, allocations: 86.61 kB / 0.8896 GB, free: 2.539 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.264e-05/0.9439, allocations: 11.28 kB / 0.8896 GB, free: 2.539 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02579/0.9697, allocations: 11.68 MB / 0.901 GB, free: 2.473 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.9699, allocations: 39.25 kB / 0.9011 GB, free: 2.473 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.9701, allocations: 87.14 kB / 0.9012 GB, free: 2.473 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01923/0.9893, allocations: 6.501 MB / 0.9075 GB, free: 1.957 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.9893, allocations: 0 / 0.9075 GB, free: 1.957 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.345e-06/0.9893, allocations: 0 / 0.9075 GB, free: 1.957 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.9893, allocations: 2.141 kB / 0.9075 GB, free: 1.957 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.005236/0.9946, allocations: 1.252 MB / 0.9087 GB, free: 17.09 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.9946, allocations: 11.12 kB / 0.9087 GB, free: 17.09 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.518e-05/0.9946, allocations: 5.781 kB / 0.9087 GB, free: 17.09 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.505e-05/0.9947, allocations: 50.39 kB / 0.9088 GB, free: 17.04 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.9958, allocations: 84.3 kB / 0.9089 GB, free: 17.02 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.9961, allocations: 228.6 kB / 0.9091 GB, free: 16.79 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.9961, allocations: 19.5 kB / 0.9091 GB, free: 16.78 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.9962, allocations: 13.38 kB / 0.9091 GB, free: 16.78 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.9973, allocations: 453.1 kB / 0.9096 GB, free: 16.62 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.9973, allocations: 1.094 kB / 0.9096 GB, free: 16.62 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.9974, allocations: 9.609 kB / 0.9096 GB, free: 16.62 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.9974, allocations: 5.25 kB / 0.9096 GB, free: 16.62 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.9985, allocations: 0.5944 MB / 0.9102 GB, free: 16.48 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.9997, allocations: 0.885 MB / 0.911 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008092/1.001, allocations: 240 kB / 0.9112 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/1.001, allocations: 64.48 kB / 0.9113 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09928/1.1, allocations: 36.52 MB / 0.947 GB, free: 4.504 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.496e-05/1.1, allocations: 38.19 kB / 0.947 GB, free: 4.461 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=25): time 2.464e-06/1.1, allocations: 3.094 kB / 0.947 GB, free: 4.461 MB / 0.7012 GB Notification: Performance of matching and sorting (n=25): time 0.001997/1.102, allocations: 424.7 kB / 0.9474 GB, free: 4.137 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/1.102, allocations: 60.61 kB / 0.9475 GB, free: 4.066 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/1.102, allocations: 133.4 kB / 0.9476 GB, free: 3.938 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/1.102, allocations: 33.45 kB / 0.9476 GB, free: 3.902 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 8.963e-05/1.102, allocations: 111.5 kB / 0.9477 GB, free: 3.797 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 8.83e-05/1.102, allocations: 92.7 kB / 0.9478 GB, free: 3.719 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/1.103, allocations: 82.23 kB / 0.9479 GB, free: 3.656 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.103, allocations: 329.6 kB / 0.9482 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/1.103, allocations: 83.84 kB / 0.9483 GB, free: 3.273 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/1.103, allocations: 141.2 kB / 0.9484 GB, free: 3.148 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004663/1.104, allocations: 210.3 kB / 0.9486 GB, free: 2.992 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.104, allocations: 3.188 kB / 0.9486 GB, free: 2.992 MB / 0.7012 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008234/1.104, allocations: 299 kB / 0.9489 GB, free: 2.773 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/1.104, allocations: 8 kB / 0.9489 GB, free: 2.766 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.104, allocations: 0 / 0.9489 GB, free: 2.766 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/1.104, allocations: 4 kB / 0.9489 GB, free: 2.762 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/1.105, allocations: 81.66 kB / 0.949 GB, free: 2.695 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/1.105, allocations: 4.156 kB / 0.949 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/1.105, allocations: 27.16 kB / 0.949 GB, free: 2.668 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.028e-05/1.105, allocations: 30.69 kB / 0.9491 GB, free: 2.645 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001525/1.105, allocations: 123.2 kB / 0.9492 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/1.105, allocations: 15.95 kB / 0.9492 GB, free: 2.512 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/1.108, allocations: 2.335 MB / 0.9515 GB, free: 1.105 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/1.108, allocations: 15.61 kB / 0.9515 GB, free: 1.094 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/1.108, allocations: 0 / 0.9515 GB, free: 1.094 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/1.108, allocations: 3.938 kB / 0.9515 GB, free: 1.09 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003475/1.111, allocations: 3.431 MB / 0.9549 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.413e-06/1.111, allocations: 0 / 0.9549 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002805/1.112, allocations: 60.56 kB / 0.9549 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/1.112, allocations: 0 / 0.9549 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/1.112, allocations: 12.19 kB / 0.9549 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/1.112, allocations: 1.203 kB / 0.9549 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.112, allocations: 0 / 0.9549 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008841/1.112, allocations: 0.5557 MB / 0.9555 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/1.113, allocations: 141 kB / 0.9556 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/1.113, allocations: 10.62 kB / 0.9556 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/1.113, allocations: 12.3 kB / 0.9556 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/1.113, allocations: 18.72 kB / 0.9556 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/1.113, allocations: 10.62 kB / 0.9557 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.3e-05/1.113, allocations: 108.5 kB / 0.9558 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/1.113, allocations: 4 kB / 0.9558 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005965/1.119, allocations: 1.71 MB / 0.9574 GB, free: 12.43 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01346/1.132, allocations: 2.949 MB / 0.9603 GB, free: 9.801 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009229/1.133, allocations: 320.6 kB / 0.9606 GB, free: 9.586 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.133, allocations: 1.203 kB / 0.9606 GB, free: 9.586 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003639/1.134, allocations: 192.1 kB / 0.9608 GB, free: 9.469 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006533/1.134, allocations: 67.84 kB / 0.9609 GB, free: 9.418 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00874/1.143, allocations: 3.103 MB / 0.9639 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/1.144, allocations: 0.7661 MB / 0.9646 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006361/1.144, allocations: 402.8 kB / 0.965 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/1.144, allocations: 99.89 kB / 0.9651 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of SimCode: time 1.804e-06/1.144, allocations: 0 / 0.9651 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1317/1.276, allocations: 63.34 MB / 1.027 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/14.15, allocations: 9.844 kB / 1.027 GB, free: 6.098 MB / 0.7794 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_SteamProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.72002974699717] Failed to read output from testmodel.py, exit status != 0: 14.334262427990325 14.362098009 13.367349538 Calling exit ...