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.00134/0.00134, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001708/0.001708, allocations: 206.9 kB / 23.77 MB, free: 4.559 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.505/1.505, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.037/1.037, allocations: 150 MB / 464 MB, free: 10.25 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="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.002029/0.002029, allocations: 61.25 kB / 0.642 GB, free: 9.93 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1824, allocations: 89.17 MB / 0.729 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.4995/0.6819, allocations: 119.5 MB / 0.8458 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0281/0.71, allocations: 20.22 MB / 0.8655 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.7102, allocations: 4 kB / 0.8655 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.7105, allocations: 43.69 kB / 0.8656 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.7108, allocations: 99.36 kB / 0.8657 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01907/0.7298, allocations: 6.929 MB / 0.8724 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004578/0.7303, allocations: 255.9 kB / 0.8727 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.506e-05/0.7304, allocations: 13.73 kB / 0.8727 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003548/0.7307, allocations: 147.4 kB / 0.8728 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.7309, allocations: 83.72 kB / 0.8729 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.7309, allocations: 15.94 kB / 0.8729 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02262/0.7535, allocations: 11.54 MB / 0.8842 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.7536, allocations: 35.88 kB / 0.8842 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.7538, allocations: 79.72 kB / 0.8843 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01441/0.7682, allocations: 6.478 MB / 0.8906 GB, free: 15.26 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.7682, allocations: 4 kB / 0.8906 GB, free: 15.26 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7682, allocations: 0 / 0.8906 GB, free: 15.26 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.7682, allocations: 0 / 0.8906 GB, free: 15.26 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.003338/0.7715, allocations: 1.167 MB / 0.8918 GB, free: 14.05 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.7716, allocations: 8.031 kB / 0.8918 GB, free: 14.05 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.505e-05/0.7716, allocations: 4.188 kB / 0.8918 GB, free: 14.04 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.688e-05/0.7716, allocations: 54.73 kB / 0.8918 GB, free: 13.98 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.7728, allocations: 92.73 kB / 0.8919 GB, free: 13.89 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.773, allocations: 170.8 kB / 0.8921 GB, free: 13.7 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.773, allocations: 11.94 kB / 0.8921 GB, free: 13.69 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.7731, allocations: 23.94 kB / 0.8921 GB, free: 13.66 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.7745, allocations: 0.6622 MB / 0.8928 GB, free: 12.93 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.7745, allocations: 0 / 0.8928 GB, free: 12.93 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.7746, allocations: 8 kB / 0.8928 GB, free: 12.93 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.7746, allocations: 4 kB / 0.8928 GB, free: 12.92 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.7759, allocations: 0.621 MB / 0.8934 GB, free: 12.3 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.777, allocations: 0.7381 MB / 0.8941 GB, free: 11.51 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009346/0.778, allocations: 234.3 kB / 0.8943 GB, free: 11.27 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.7781, allocations: 68.77 kB / 0.8944 GB, free: 11.2 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08614/0.8643, allocations: 23.36 MB / 0.9172 GB, free: 3.797 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.8643, allocations: 38.56 kB / 0.9172 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=25): time 2.084e-06/0.8643, allocations: 0 / 0.9172 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of matching and sorting (n=25): time 0.002047/0.8664, allocations: 426 kB / 0.9176 GB, free: 3.332 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.8664, allocations: 51.41 kB / 0.9177 GB, free: 3.27 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.8666, allocations: 147.6 kB / 0.9178 GB, free: 3.117 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.8666, allocations: 29.7 kB / 0.9179 GB, free: 3.082 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 9.315e-05/0.8667, allocations: 112.4 kB / 0.918 GB, free: 2.969 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 9.248e-05/0.8668, allocations: 91.22 kB / 0.9181 GB, free: 2.879 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.8669, allocations: 73.67 kB / 0.9181 GB, free: 2.801 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.8671, allocations: 330.8 kB / 0.9184 GB, free: 2.469 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.8673, allocations: 90.19 kB / 0.9185 GB, free: 2.383 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.8676, allocations: 129.1 kB / 0.9186 GB, free: 2.238 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005017/0.8681, allocations: 217 kB / 0.9189 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.8681, allocations: 0 / 0.9189 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008679/0.869, allocations: 303.9 kB / 0.9191 GB, free: 1.707 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.869, allocations: 11.94 kB / 0.9192 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.869, allocations: 0 / 0.9192 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.869, allocations: 4 kB / 0.9192 GB, free: 1.691 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/0.8694, allocations: 79.88 kB / 0.9192 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.8694, allocations: 4 kB / 0.9192 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.8696, allocations: 23.77 kB / 0.9193 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.699e-05/0.8696, allocations: 27.97 kB / 0.9193 GB, free: 1.559 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.0001695/0.8698, allocations: 129.9 kB / 0.9194 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.87, allocations: 19.91 kB / 0.9194 GB, free: 1.402 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002846/0.8728, allocations: 2.488 MB / 0.9219 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/0.8729, allocations: 11.98 kB / 0.9219 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8729, allocations: 0 / 0.9219 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.8729, allocations: 3.938 kB / 0.9219 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003932/0.8768, allocations: 3.586 MB / 0.9254 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.8768, allocations: 0 / 0.9254 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003111/0.8771, allocations: 52.83 kB / 0.9254 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-05/0.8771, allocations: 11.92 kB / 0.9254 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.8772, allocations: 15.98 kB / 0.9255 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.8772, allocations: 0 / 0.9255 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8772, allocations: 0 / 0.9255 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009385/0.8781, allocations: 0.5584 MB / 0.926 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.8782, allocations: 55.69 kB / 0.9261 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.8783, allocations: 9.938 kB / 0.9261 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.8785, allocations: 15.98 kB / 0.9261 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.8786, allocations: 15.97 kB / 0.9261 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.8786, allocations: 15.98 kB / 0.9261 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 9.291e-05/0.8787, allocations: 105.1 kB / 0.9262 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.8787, allocations: 7.938 kB / 0.9262 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004494/0.8832, allocations: 1.723 MB / 0.9279 GB, free: 8.602 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.01027/0.8935, allocations: 2.963 MB / 0.9308 GB, free: 5.613 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.000841/0.8943, allocations: 317.3 kB / 0.9311 GB, free: 5.305 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.8943, allocations: 0 / 0.9311 GB, free: 5.305 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000329/0.8946, allocations: 196.5 kB / 0.9313 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006251/0.8953, allocations: 65.19 kB / 0.9313 GB, free: 5.047 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007646/0.9029, allocations: 3.092 MB / 0.9344 GB, free: 1.84 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.9031, allocations: 156.6 kB / 0.9345 GB, free: 1.664 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0006577/0.9037, allocations: 417.2 kB / 0.9349 GB, free: 1.258 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.904, allocations: 95.39 kB / 0.935 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of SimCode: time 1.042e-06/0.904, allocations: 4 kB / 0.935 GB, free: 1.16 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1185/1.022, allocations: 64.01 MB / 0.9975 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.38/17.41, allocations: 9.859 kB / 0.9975 GB, free: 1.297 MB / 0.7637 GB " [Timeout remaining time 642] (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: 21.63491416303441] Failed to read output from testmodel.py, exit status != 0: 17.625481022056192 17.647380305 16.874786262 Calling exit ...