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.00177/0.00177, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002214/0.002214, allocations: 211 kB / 22.99 MB, free: 4.605 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.549/1.549, allocations: 230.6 MB / 256.8 MB, free: 7.785 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 0.97/0.97, allocations: 149.9 MB / 463 MB, free: 10.36 MB / 366.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="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: 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.002147/0.002147, allocations: 69.05 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1774, allocations: 89.16 MB / 0.7282 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.5508/0.7282, allocations: 119.6 MB / 0.845 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02796/0.7562, allocations: 20.24 MB / 0.8647 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.7564, allocations: 4 kB / 0.8647 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0002716/0.7566, allocations: 43.7 kB / 0.8648 GB, free: 9 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.7569, allocations: 95.34 kB / 0.8649 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.02109/0.778, allocations: 6.942 MB / 0.8716 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004161/0.7785, allocations: 251.9 kB / 0.8719 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.698e-05/0.7785, allocations: 9.734 kB / 0.8719 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003459/0.7789, allocations: 147.4 kB / 0.872 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.779, allocations: 83.72 kB / 0.8721 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.779, allocations: 8 kB / 0.8721 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02362/0.8027, allocations: 11.11 MB / 0.883 GB, free: 6.375 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.8028, allocations: 39.89 kB / 0.883 GB, free: 6.336 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001891/0.803, allocations: 79.64 kB / 0.8831 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01874/0.8218, allocations: 6.478 MB / 0.8894 GB, free: 15.77 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.8218, allocations: 0 / 0.8894 GB, free: 15.77 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8218, allocations: 0 / 0.8894 GB, free: 15.77 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.8218, allocations: 0 / 0.8894 GB, free: 15.77 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.003372/0.8251, allocations: 1.167 MB / 0.8905 GB, free: 14.56 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.8252, allocations: 12.03 kB / 0.8906 GB, free: 14.55 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.826e-05/0.8252, allocations: 50.73 kB / 0.8906 GB, free: 14.49 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.8263, allocations: 85.44 kB / 0.8907 GB, free: 14.41 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.8266, allocations: 174.5 kB / 0.8909 GB, free: 14.21 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.8267, allocations: 23.88 kB / 0.8909 GB, free: 14.19 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.8267, allocations: 12 kB / 0.8909 GB, free: 14.18 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.828, allocations: 0.6662 MB / 0.8915 GB, free: 13.45 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.828, allocations: 0 / 0.8915 GB, free: 13.45 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.828, allocations: 4 kB / 0.8915 GB, free: 13.44 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.828, allocations: 4 kB / 0.8916 GB, free: 13.44 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.8293, allocations: 0.6088 MB / 0.8921 GB, free: 12.83 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.8304, allocations: 0.7367 MB / 0.8929 GB, free: 12.04 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008073/0.8312, allocations: 244.7 kB / 0.8931 GB, free: 11.79 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.8313, allocations: 68.83 kB / 0.8932 GB, free: 11.72 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08961/0.9209, allocations: 23.36 MB / 0.916 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/0.921, allocations: 38.56 kB / 0.916 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=25): time 1.993e-06/0.921, allocations: 0 / 0.916 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of matching and sorting (n=25): time 0.001864/0.9228, allocations: 421.1 kB / 0.9164 GB, free: 3.863 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.9229, allocations: 59.34 kB / 0.9165 GB, free: 3.793 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.923, allocations: 141.8 kB / 0.9166 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.9231, allocations: 29.7 kB / 0.9166 GB, free: 3.609 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/0.9231, allocations: 108.5 kB / 0.9167 GB, free: 3.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.9233, allocations: 91.22 kB / 0.9168 GB, free: 3.41 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.9234, allocations: 73.67 kB / 0.9169 GB, free: 3.332 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.9235, allocations: 326.8 kB / 0.9172 GB, free: 3.004 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.9237, allocations: 87.94 kB / 0.9173 GB, free: 2.918 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.924, allocations: 137 kB / 0.9174 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004659/0.9244, allocations: 219.6 kB / 0.9176 GB, free: 2.535 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.9244, allocations: 0 / 0.9176 GB, free: 2.535 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007705/0.9252, allocations: 297.3 kB / 0.9179 GB, free: 2.238 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.9252, allocations: 14.34 kB / 0.9179 GB, free: 2.227 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.9253, allocations: 3.938 kB / 0.9179 GB, free: 2.223 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.9253, allocations: 4 kB / 0.9179 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.9256, allocations: 83.88 kB / 0.918 GB, free: 2.137 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.9256, allocations: 4 kB / 0.918 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.9257, allocations: 23.72 kB / 0.918 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.9258, allocations: 31.91 kB / 0.9181 GB, free: 2.078 MB / 0.6856 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.0001562/0.926, allocations: 121.8 kB / 0.9182 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.9261, allocations: 19.91 kB / 0.9182 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003006/0.9291, allocations: 2.492 MB / 0.9206 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.9292, allocations: 11.98 kB / 0.9206 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.9292, allocations: 0 / 0.9206 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.9292, allocations: 3.938 kB / 0.9207 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003926/0.9331, allocations: 3.583 MB / 0.9241 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.9331, allocations: 0 / 0.9241 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.9334, allocations: 56.83 kB / 0.9242 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.9334, allocations: 0 / 0.9242 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.9334, allocations: 15.92 kB / 0.9242 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.9334, allocations: 0 / 0.9242 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.9334, allocations: 7.938 kB / 0.9242 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000866/0.9343, allocations: 0.5545 MB / 0.9248 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.9344, allocations: 59.64 kB / 0.9248 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.9345, allocations: 10.06 kB / 0.9248 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.9347, allocations: 15.98 kB / 0.9248 GB, free: 11 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.9348, allocations: 19.97 kB / 0.9249 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/0.9348, allocations: 15.98 kB / 0.9249 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001193/0.9349, allocations: 103.3 kB / 0.925 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.9349, allocations: 0 / 0.925 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004897/0.9398, allocations: 1.715 MB / 0.9267 GB, free: 9.141 MB / 0.7012 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.01024/0.95, allocations: 2.965 MB / 0.9296 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0007361/0.9508, allocations: 325.3 kB / 0.9299 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.632e-05/0.9508, allocations: 0 / 0.9299 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003121/0.9511, allocations: 192.5 kB / 0.93 GB, free: 5.641 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005727/0.9517, allocations: 66.64 kB / 0.9301 GB, free: 5.578 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006856/0.9585, allocations: 3.093 MB / 0.9331 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.9587, allocations: 156.7 kB / 0.9333 GB, free: 2.199 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0006292/0.9593, allocations: 405.2 kB / 0.9337 GB, free: 1.805 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/0.9596, allocations: 99.39 kB / 0.9338 GB, free: 1.707 MB / 0.7012 GB Notification: Performance of SimCode: time 1.092e-06/0.9596, allocations: 3.938 kB / 0.9338 GB, free: 1.703 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1282/1.088, allocations: 64.24 MB / 0.9965 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.67/16.76, allocations: 7.859 kB / 0.9965 GB, free: 1.59 MB / 0.7637 GB " [Timeout remaining time 643] (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: 20.76907114358619] Failed to read output from testmodel.py, exit status != 0: 16.92533825105056 16.941861912 16.116609186 Calling exit ...