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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 114.8 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001983/0.001983, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 225.6 MB / 248.5 MB, free: 3.59 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8698/0.8698, allocations: 129.2 MB / 432.5 MB, free: 12.92 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Media.Examples.SteamProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 71.89 kB / 0.5987 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.4491, allocations: 83.44 MB / 0.6802 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.1752/0.6243, allocations: 136.5 MB / 0.8135 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0336/0.6579, allocations: 22.74 MB / 0.8357 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001956/0.6581, allocations: 3.938 kB / 0.8357 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003175/0.6584, allocations: 43.73 kB / 0.8357 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.6588, allocations: 95.36 kB / 0.8358 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01967/0.6784, allocations: 6.976 MB / 0.8427 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000472/0.6789, allocations: 243.9 kB / 0.8429 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.513e-05/0.679, allocations: 5.562 kB / 0.8429 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003229/0.6793, allocations: 147.4 kB / 0.843 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.6794, allocations: 95.59 kB / 0.8431 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.6795, allocations: 8 kB / 0.8431 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02395/0.7034, allocations: 11.67 MB / 0.8545 GB, free: 10.89 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.7035, allocations: 39.89 kB / 0.8546 GB, free: 10.85 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.7037, allocations: 75.67 kB / 0.8546 GB, free: 10.77 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01883/0.7225, allocations: 6.49 MB / 0.861 GB, free: 4.27 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.7225, allocations: 0 / 0.861 GB, free: 4.27 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7225, allocations: 0 / 0.861 GB, free: 4.27 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.7225, allocations: 4 kB / 0.861 GB, free: 4.266 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.003738/0.7263, allocations: 1.246 MB / 0.8622 GB, free: 2.965 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.7263, allocations: 12.03 kB / 0.8622 GB, free: 2.953 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.72e-05/0.7264, allocations: 46.73 kB / 0.8622 GB, free: 2.898 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.7276, allocations: 92.75 kB / 0.8623 GB, free: 2.809 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.7279, allocations: 220.2 kB / 0.8625 GB, free: 2.555 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.7279, allocations: 11.94 kB / 0.8626 GB, free: 2.543 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.7279, allocations: 16 kB / 0.8626 GB, free: 2.527 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.7291, allocations: 448.7 kB / 0.863 GB, free: 2.07 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.7291, allocations: 4 kB / 0.863 GB, free: 2.066 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.7292, allocations: 12 kB / 0.863 GB, free: 2.055 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.7292, allocations: 7.938 kB / 0.863 GB, free: 2.047 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.7304, allocations: 0.597 MB / 0.8636 GB, free: 1.449 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.7316, allocations: 0.8861 MB / 0.8645 GB, free: 488 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00083/0.7324, allocations: 230.4 kB / 0.8647 GB, free: 248 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.7325, allocations: 70.36 kB / 0.8648 GB, free: 176 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.428/1.161, allocations: 35.41 MB / 0.8993 GB, free: 149.5 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/1.161, allocations: 41.66 kB / 0.8994 GB, free: 149.4 MB / 0.67 GB Notification: Performance of pre-optimization done (n=25): time 2.485e-06/1.161, allocations: 0 / 0.8994 GB, free: 149.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=25): time 0.001905/1.162, allocations: 422.9 kB / 0.8998 GB, free: 149.2 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/1.163, allocations: 55.34 kB / 0.8998 GB, free: 149.2 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/1.163, allocations: 142.6 kB / 0.9 GB, free: 149 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/1.163, allocations: 33.64 kB / 0.9 GB, free: 149 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/1.163, allocations: 106.7 kB / 0.9001 GB, free: 148.9 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.947e-05/1.163, allocations: 94.5 kB / 0.9002 GB, free: 148.8 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/1.163, allocations: 77.14 kB / 0.9003 GB, free: 148.8 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.125e-05/1.163, allocations: 326.7 kB / 0.9006 GB, free: 148.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/1.163, allocations: 89.45 kB / 0.9007 GB, free: 148.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/1.163, allocations: 132.4 kB / 0.9008 GB, free: 148.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/1.164, allocations: 221.7 kB / 0.901 GB, free: 148.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.164, allocations: 0 / 0.901 GB, free: 148.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006643/1.164, allocations: 295.8 kB / 0.9013 GB, free: 148 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/1.164, allocations: 7.594 kB / 0.9013 GB, free: 148 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/1.164, allocations: 0 / 0.9013 GB, free: 148 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/1.164, allocations: 7.797 kB / 0.9013 GB, free: 148 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/1.165, allocations: 82.33 kB / 0.9014 GB, free: 148 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/1.165, allocations: 7.922 kB / 0.9014 GB, free: 148 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/1.165, allocations: 27.53 kB / 0.9014 GB, free: 148 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/1.165, allocations: 23.36 kB / 0.9014 GB, free: 148 MB / 0.67 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.0001039/1.165, allocations: 123.7 kB / 0.9015 GB, free: 147.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/1.165, allocations: 19.81 kB / 0.9016 GB, free: 147.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/1.167, allocations: 2.342 MB / 0.9039 GB, free: 146.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/1.167, allocations: 10.55 kB / 0.9039 GB, free: 146.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/1.167, allocations: 9.016 kB / 0.9039 GB, free: 146.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/1.167, allocations: 6.047 kB / 0.9039 GB, free: 146.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/1.17, allocations: 3.424 MB / 0.9072 GB, free: 143.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/1.17, allocations: 0 / 0.9072 GB, free: 143.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/1.17, allocations: 59.89 kB / 0.9073 GB, free: 143.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/1.17, allocations: 0 / 0.9073 GB, free: 143.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/1.17, allocations: 8 kB / 0.9073 GB, free: 143.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/1.17, allocations: 11.91 kB / 0.9073 GB, free: 143.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.17, allocations: 0 / 0.9073 GB, free: 143.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006145/1.171, allocations: 0.5428 MB / 0.9078 GB, free: 142.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.963e-05/1.171, allocations: 145.7 kB / 0.908 GB, free: 142.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/1.171, allocations: 4 kB / 0.908 GB, free: 142.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/1.171, allocations: 15.98 kB / 0.908 GB, free: 142.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/1.171, allocations: 15.98 kB / 0.908 GB, free: 142.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/1.171, allocations: 15.98 kB / 0.908 GB, free: 142.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 5.572e-05/1.171, allocations: 105.3 kB / 0.9081 GB, free: 142.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/1.171, allocations: 4 kB / 0.9081 GB, free: 142.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004391/1.175, allocations: 1.713 MB / 0.9098 GB, free: 140.8 MB / 0.67 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.008107/1.183, allocations: 2.941 MB / 0.9127 GB, free: 138 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0006111/1.184, allocations: 313.3 kB / 0.913 GB, free: 137.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.184, allocations: 0 / 0.913 GB, free: 137.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000234/1.184, allocations: 192.5 kB / 0.9131 GB, free: 137.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005359/1.185, allocations: 66.44 kB / 0.9132 GB, free: 137.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00527/1.19, allocations: 3.084 MB / 0.9162 GB, free: 134.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001628/1.19, allocations: 0.77 MB / 0.917 GB, free: 133.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004432/1.191, allocations: 406.6 kB / 0.9174 GB, free: 133.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/1.191, allocations: 91.39 kB / 0.9175 GB, free: 133 MB / 0.67 GB Notification: Performance of SimCode: time 6.31e-07/1.191, allocations: 0 / 0.9175 GB, free: 133 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09013/1.281, allocations: 63.18 MB / 0.9791 GB, free: 69.86 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.8, allocations: 3.984 kB / 0.9791 GB, free: 69.86 MB / 0.67 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: 17.53323800722137] Failed to read output from testmodel.py, exit status != 0: 13.92206505406648 13.936145302 13.210356941 Calling exit ...