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.001319/0.001319, allocations: 115.2 kB / 19.7 MB, free: 2.207 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.001545/0.001545, allocations: 219.8 kB / 23 MB, free: 5.07 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.011/1.011, allocations: 150 MB / 463.2 MB, free: 10.5 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.002226/0.002226, allocations: 66.61 kB / 0.6413 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1764, allocations: 89.17 MB / 0.7284 GB, free: 1.277 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.5301/0.7065, allocations: 139.4 MB / 0.8645 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03147/0.738, allocations: 22.87 MB / 0.8868 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.7381, allocations: 0 / 0.8868 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.7385, allocations: 47.67 kB / 0.8869 GB, free: 4.902 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.7389, allocations: 103.3 kB / 0.887 GB, free: 4.801 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01925/0.7581, allocations: 6.986 MB / 0.8938 GB, free: 13.84 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0005134/0.7587, allocations: 255.9 kB / 0.894 GB, free: 13.59 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 6.336e-05/0.7587, allocations: 13.73 kB / 0.894 GB, free: 13.58 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004067/0.7591, allocations: 143.4 kB / 0.8942 GB, free: 13.44 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.7593, allocations: 87.66 kB / 0.8943 GB, free: 13.36 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.7594, allocations: 12 kB / 0.8943 GB, free: 13.34 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02712/0.7865, allocations: 11.7 MB / 0.9057 GB, free: 1.629 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.7866, allocations: 39.89 kB / 0.9057 GB, free: 1.59 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.7868, allocations: 83.59 kB / 0.9058 GB, free: 1.508 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01736/0.8042, allocations: 6.505 MB / 0.9122 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.8042, allocations: 4 kB / 0.9122 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8042, allocations: 0 / 0.9122 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.8042, allocations: 0 / 0.9122 GB, free: 10.98 MB / 0.6856 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.004372/0.8086, allocations: 1.171 MB / 0.9133 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.8086, allocations: 12.03 kB / 0.9133 GB, free: 9.766 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.274e-05/0.8087, allocations: 50.67 kB / 0.9134 GB, free: 9.707 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.8099, allocations: 85.27 kB / 0.9134 GB, free: 9.625 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.8103, allocations: 178.4 kB / 0.9136 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.8103, allocations: 19.94 kB / 0.9136 GB, free: 9.406 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.8103, allocations: 12 kB / 0.9136 GB, free: 9.395 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.8116, allocations: 468.5 kB / 0.9141 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.8116, allocations: 0 / 0.9141 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.8116, allocations: 9.188 kB / 0.9141 GB, free: 8.91 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.8116, allocations: 4 kB / 0.9141 GB, free: 8.906 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.8129, allocations: 0.6244 MB / 0.9147 GB, free: 8.281 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.8142, allocations: 0.8541 MB / 0.9156 GB, free: 7.348 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008467/0.815, allocations: 244.2 kB / 0.9158 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.8152, allocations: 72.83 kB / 0.9159 GB, free: 7.027 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08656/0.9017, allocations: 23.27 MB / 0.9386 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/0.9018, allocations: 38.56 kB / 0.9386 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 2.255e-06/0.9018, allocations: 3.938 kB / 0.9386 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.001885/0.9037, allocations: 425.1 kB / 0.939 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.9037, allocations: 59.34 kB / 0.9391 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.9039, allocations: 135.5 kB / 0.9392 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.055e-05/0.9039, allocations: 29.7 kB / 0.9392 GB, free: 15 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.957e-05/0.904, allocations: 112.4 kB / 0.9393 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.97e-05/0.9041, allocations: 95.2 kB / 0.9394 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.9042, allocations: 85.61 kB / 0.9395 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.9044, allocations: 322.8 kB / 0.9398 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.9046, allocations: 83.94 kB / 0.9399 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.9048, allocations: 125.1 kB / 0.94 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004528/0.9053, allocations: 225 kB / 0.9402 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.9053, allocations: 0 / 0.9402 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008182/0.9061, allocations: 306.7 kB / 0.9405 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.9061, allocations: 4 kB / 0.9405 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.9061, allocations: 4 kB / 0.9405 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.9061, allocations: 0 / 0.9405 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.9064, allocations: 79.88 kB / 0.9406 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.9065, allocations: 8.75 kB / 0.9406 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.9066, allocations: 23.77 kB / 0.9407 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/0.9067, allocations: 27.97 kB / 0.9407 GB, free: 13.46 MB / 0.7169 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.0001548/0.9068, allocations: 130 kB / 0.9408 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.907, allocations: 15.91 kB / 0.9408 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002873/0.9099, allocations: 2.491 MB / 0.9432 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.9099, allocations: 15.98 kB / 0.9433 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.9099, allocations: 0 / 0.9433 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.9099, allocations: 3.938 kB / 0.9433 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004037/0.914, allocations: 3.601 MB / 0.9468 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.914, allocations: 0 / 0.9468 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.9142, allocations: 55.94 kB / 0.9468 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.9142, allocations: 4 kB / 0.9468 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.9143, allocations: 11.94 kB / 0.9469 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.9143, allocations: 3.938 kB / 0.9469 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.9143, allocations: 0 / 0.9469 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009369/0.9152, allocations: 0.5623 MB / 0.9474 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.9153, allocations: 63.62 kB / 0.9475 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.212e-05/0.9154, allocations: 7.938 kB / 0.9475 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/0.9157, allocations: 19.98 kB / 0.9475 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.9157, allocations: 15.97 kB / 0.9475 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.9157, allocations: 15.98 kB / 0.9475 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.51e-05/0.9158, allocations: 105.9 kB / 0.9476 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9158, allocations: 0 / 0.9476 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004807/0.9207, allocations: 1.719 MB / 0.9493 GB, free: 4.492 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.009879/0.9305, allocations: 2.961 MB / 0.9522 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007329/0.9313, allocations: 323 kB / 0.9525 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.9313, allocations: 0 / 0.9525 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003342/0.9316, allocations: 196.5 kB / 0.9527 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/0.9322, allocations: 66.23 kB / 0.9528 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006233/0.9384, allocations: 3.096 MB / 0.9558 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.9388, allocations: 0.7621 MB / 0.9565 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006024/0.9394, allocations: 401.3 kB / 0.9569 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.9396, allocations: 103.4 kB / 0.957 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of SimCode: time 9.82e-07/0.9396, allocations: 0 / 0.957 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1414/1.081, allocations: 63.81 MB / 1.019 GB, free: 12.73 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.78/16.86, allocations: 3.406 kB / 1.019 GB, free: 12.73 MB / 0.795 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.91976216598414] Failed to read output from testmodel.py, exit status != 0: 17.01906150695868 17.035838129 16.228211079 Calling exit ...