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.001286/0.001286, allocations: 105 kB / 20.48 MB, free: 1.488 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.001612/0.001612, allocations: 213.1 kB / 23.79 MB, free: 4.703 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 8.043 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.9889/0.9889, allocations: 150 MB / 464 MB, free: 10.57 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.002265/0.002265, allocations: 66.69 kB / 0.642 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2143, allocations: 89.17 MB / 0.7291 GB, free: 1.355 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.5351/0.7494, allocations: 139.4 MB / 0.8652 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02901/0.7784, allocations: 22.87 MB / 0.8876 GB, free: 5.008 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.7786, allocations: 0 / 0.8876 GB, free: 5.008 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.7789, allocations: 51.61 kB / 0.8876 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003229/0.7792, allocations: 103.3 kB / 0.8877 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.02032/0.7995, allocations: 6.969 MB / 0.8945 GB, free: 13.91 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0004889/0.8, allocations: 259.8 kB / 0.8948 GB, free: 13.66 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 5.051e-05/0.8001, allocations: 5.75 kB / 0.8948 GB, free: 13.65 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003627/0.8004, allocations: 143.4 kB / 0.8949 GB, free: 13.51 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.8006, allocations: 95.66 kB / 0.895 GB, free: 13.42 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.8006, allocations: 8 kB / 0.895 GB, free: 13.41 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02566/0.8263, allocations: 11.71 MB / 0.9065 GB, free: 1.688 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.8264, allocations: 43.83 kB / 0.9065 GB, free: 1.645 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.8266, allocations: 75.66 kB / 0.9066 GB, free: 1.57 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01865/0.8452, allocations: 6.509 MB / 0.9129 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.8452, allocations: 0 / 0.9129 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8452, allocations: 3.938 kB / 0.9129 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.8452, allocations: 0 / 0.9129 GB, free: 11.04 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.004243/0.8495, allocations: 1.171 MB / 0.9141 GB, free: 9.836 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.8495, allocations: 8.031 kB / 0.9141 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.966e-05/0.8496, allocations: 8.875 kB / 0.9141 GB, free: 9.82 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.478e-05/0.8496, allocations: 54.73 kB / 0.9141 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.8507, allocations: 84.75 kB / 0.9142 GB, free: 9.676 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.851, allocations: 174.3 kB / 0.9144 GB, free: 9.48 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.851, allocations: 11.94 kB / 0.9144 GB, free: 9.469 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.8511, allocations: 16.56 kB / 0.9144 GB, free: 9.453 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.8523, allocations: 484.4 kB / 0.9149 GB, free: 8.961 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.8523, allocations: 0 / 0.9149 GB, free: 8.961 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.8523, allocations: 11.94 kB / 0.9149 GB, free: 8.949 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.8523, allocations: 4 kB / 0.9149 GB, free: 8.945 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.8536, allocations: 0.6166 MB / 0.9155 GB, free: 8.328 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.8549, allocations: 0.8541 MB / 0.9163 GB, free: 7.395 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008399/0.8557, allocations: 242.3 kB / 0.9166 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.8558, allocations: 62.7 kB / 0.9166 GB, free: 7.086 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08886/0.9447, allocations: 23.28 MB / 0.9393 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.9447, allocations: 38.55 kB / 0.9394 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 2.335e-06/0.9447, allocations: 0 / 0.9394 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.001988/0.9467, allocations: 430 kB / 0.9398 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.9468, allocations: 51.41 kB / 0.9398 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.9469, allocations: 140.3 kB / 0.94 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/0.947, allocations: 33.7 kB / 0.94 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.9471, allocations: 116.4 kB / 0.9401 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.9472, allocations: 95.2 kB / 0.9402 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.9474, allocations: 77.67 kB / 0.9403 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.9475, allocations: 322.8 kB / 0.9406 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.9477, allocations: 87.94 kB / 0.9407 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.948, allocations: 129.1 kB / 0.9408 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/0.9485, allocations: 220.9 kB / 0.941 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.9486, allocations: 0 / 0.941 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008681/0.9494, allocations: 299.9 kB / 0.9413 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.9494, allocations: 11.94 kB / 0.9413 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.9495, allocations: 0 / 0.9413 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.9495, allocations: 4 kB / 0.9413 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/0.9498, allocations: 79.88 kB / 0.9414 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.9498, allocations: 8.156 kB / 0.9414 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.95, allocations: 23.77 kB / 0.9414 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.874e-05/0.9501, allocations: 31.97 kB / 0.9415 GB, free: 13.51 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.0001762/0.9502, allocations: 121.8 kB / 0.9416 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.9504, allocations: 19.91 kB / 0.9416 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00304/0.9535, allocations: 2.484 MB / 0.944 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.9535, allocations: 11.98 kB / 0.944 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.9535, allocations: 0.875 kB / 0.944 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.9535, allocations: 7.938 kB / 0.944 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00413/0.9576, allocations: 3.606 MB / 0.9476 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.9576, allocations: 0 / 0.9476 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.9579, allocations: 55.88 kB / 0.9476 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.9579, allocations: 7.938 kB / 0.9476 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/0.958, allocations: 9.688 kB / 0.9476 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.958, allocations: 0 / 0.9476 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.958, allocations: 0 / 0.9476 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008799/0.9588, allocations: 0.5584 MB / 0.9482 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.959, allocations: 59.69 kB / 0.9482 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.959, allocations: 7.938 kB / 0.9482 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.9592, allocations: 11.98 kB / 0.9482 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.9593, allocations: 23.95 kB / 0.9483 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/0.9593, allocations: 19.92 kB / 0.9483 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.046e-05/0.9594, allocations: 107.2 kB / 0.9484 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9594, allocations: 3.938 kB / 0.9484 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004741/0.9641, allocations: 1.723 MB / 0.9501 GB, free: 4.539 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.009948/0.9741, allocations: 2.95 MB / 0.953 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007665/0.9749, allocations: 321.3 kB / 0.9533 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.9749, allocations: 0 / 0.9533 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.9752, allocations: 196.5 kB / 0.9534 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006471/0.9759, allocations: 75.91 kB / 0.9535 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006696/0.9826, allocations: 3.092 MB / 0.9565 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.983, allocations: 0.766 MB / 0.9573 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006493/0.9837, allocations: 409.2 kB / 0.9577 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.9839, allocations: 103.4 kB / 0.9578 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of SimCode: time 1.112e-06/0.9839, allocations: 0 / 0.9578 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1229/1.107, allocations: 63.82 MB / 1.02 GB, free: 12.78 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.4/17.51, allocations: 10.25 kB / 1.02 GB, free: 12.77 MB / 0.795 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.738627880986314] Failed to read output from testmodel.py, exit status != 0: 17.72744575497927 17.745161789 16.896342371 Calling exit ...