Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.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.001304/0.001304, allocations: 109 kB / 20.48 MB, free: 1.477 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.0018/0.0018, allocations: 213.8 kB / 23.79 MB, free: 4.684 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.532/1.532, allocations: 230.6 MB / 257.6 MB, free: 7.996 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.978/0.978, allocations: 150 MB / 464 MB, free: 10.54 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.SteamDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck",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.002068/0.002068, allocations: 72.48 kB / 0.642 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1975, allocations: 89.17 MB / 0.7291 GB, free: 1.371 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002724/0.2002, allocations: 1.283 MB / 0.7303 GB, free: 84 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5865/0.7867, allocations: 141 MB / 0.868 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.841e-05/0.7868, allocations: 0 / 0.868 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/0.7868, allocations: 7.938 kB / 0.868 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 4.759e-05/0.7868, allocations: 6.422 kB / 0.868 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.7882, allocations: 468.8 kB / 0.8685 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.173e-05/0.7883, allocations: 43.89 kB / 0.8685 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.7883, allocations: 2.625 kB / 0.8685 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.9e-05/0.7884, allocations: 22.27 kB / 0.8685 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.954e-05/0.7884, allocations: 22.81 kB / 0.8685 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.7884, allocations: 2.719 kB / 0.8685 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.7899, allocations: 0.8385 MB / 0.8694 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.378e-05/0.7899, allocations: 18 kB / 0.8694 GB, free: 6.906 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.154e-05/0.79, allocations: 11.94 kB / 0.8694 GB, free: 6.902 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0006053/0.7906, allocations: 446.9 kB / 0.8698 GB, free: 6.621 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.7906, allocations: 3.938 kB / 0.8698 GB, free: 6.617 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7906, allocations: 2.562 kB / 0.8698 GB, free: 6.617 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.7906, allocations: 0 / 0.8698 GB, free: 6.617 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005629/0.7912, allocations: 300.8 kB / 0.8701 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.7912, allocations: 12.72 kB / 0.8701 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.829e-05/0.7912, allocations: 7.938 kB / 0.8701 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.749e-05/0.7913, allocations: 33.56 kB / 0.8702 GB, free: 6.281 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.7914, allocations: 12.31 kB / 0.8702 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.7915, allocations: 117.3 kB / 0.8703 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.7916, allocations: 4.312 kB / 0.8703 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.7916, allocations: 10.56 kB / 0.8703 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.7918, allocations: 52.98 kB / 0.8704 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.026e-06/0.7918, allocations: 0 / 0.8704 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.7918, allocations: 4 kB / 0.8704 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.7918, allocations: 4 kB / 0.8704 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.59e-05/0.7918, allocations: 13.95 kB / 0.8704 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002124/0.7921, allocations: 138.9 kB / 0.8705 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.7922, allocations: 62.77 kB / 0.8706 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.39e-05/0.7922, allocations: 17.75 kB / 0.8706 GB, free: 5.84 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01138/0.8036, allocations: 2.859 MB / 0.8734 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.8037, allocations: 30.56 kB / 0.8734 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 2.585e-06/0.8037, allocations: 4 kB / 0.8734 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.0429/0.8466, allocations: 14.92 MB / 0.888 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.8466, allocations: 51.41 kB / 0.888 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.532e-05/0.8467, allocations: 101.9 kB / 0.8881 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.8467, allocations: 25.7 kB / 0.8882 GB, free: 4.203 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.8468, allocations: 80.14 kB / 0.8882 GB, free: 4.121 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.349e-05/0.8468, allocations: 43.64 kB / 0.8883 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.724e-05/0.8469, allocations: 33.7 kB / 0.8883 GB, free: 4.039 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.847, allocations: 318.8 kB / 0.8886 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.644e-05/0.8471, allocations: 19.98 kB / 0.8886 GB, free: 3.699 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.033e-05/0.8471, allocations: 36.8 kB / 0.8887 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.8473, allocations: 64.78 kB / 0.8887 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.8473, allocations: 0 / 0.8887 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002349/0.8475, allocations: 105.7 kB / 0.8888 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.8475, allocations: 4 kB / 0.8888 GB, free: 3.488 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.8475, allocations: 0 / 0.8888 GB, free: 3.488 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.8475, allocations: 0 / 0.8888 GB, free: 3.488 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.8476, allocations: 27.92 kB / 0.8889 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.8477, allocations: 0 / 0.8889 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.241e-05/0.8477, allocations: 10.94 kB / 0.8889 GB, free: 3.453 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.8477, allocations: 0 / 0.8889 GB, free: 3.453 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * 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 9.333e-05/0.8478, allocations: 121.8 kB / 0.889 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.8478, allocations: 7.953 kB / 0.889 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002839/0.8481, allocations: 129.4 kB / 0.8891 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.8481, allocations: 0 / 0.8891 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.8481, allocations: 0 / 0.8891 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.8481, allocations: 4 kB / 0.8891 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.8483, allocations: 156.6 kB / 0.8893 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8483, allocations: 0 / 0.8893 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.8484, allocations: 23.98 kB / 0.8893 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.8484, allocations: 4 kB / 0.8893 GB, free: 2.957 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.8484, allocations: 4 kB / 0.8893 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.8484, allocations: 0 / 0.8893 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.8484, allocations: 0 / 0.8893 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.8487, allocations: 161.5 kB / 0.8894 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.492e-05/0.8488, allocations: 8.031 kB / 0.8895 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.8488, allocations: 4 kB / 0.8895 GB, free: 2.766 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.8489, allocations: 15.98 kB / 0.8895 GB, free: 2.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.849, allocations: 3.984 kB / 0.8895 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.849, allocations: 8 kB / 0.8895 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.861e-05/0.849, allocations: 83.22 kB / 0.8896 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.849, allocations: 4.094 kB / 0.8896 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001827/0.8508, allocations: 0.5621 MB / 0.8901 GB, free: 2.09 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.003561/0.8544, allocations: 0.9479 MB / 0.891 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001894/0.8546, allocations: 65 kB / 0.8911 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8546, allocations: 0 / 0.8911 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.632e-05/0.8547, allocations: 35.92 kB / 0.8911 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.8549, allocations: 12 kB / 0.8912 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.8572, allocations: 1.551 MB / 0.8927 GB, free: 15.38 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.8575, allocations: 0.6884 MB / 0.8933 GB, free: 14.67 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 8.096e-05/0.8576, allocations: 20.55 kB / 0.8934 GB, free: 14.65 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.8576, allocations: 23.42 kB / 0.8934 GB, free: 14.62 MB / 0.67 GB Notification: Performance of SimCode: time 2.9e-07/0.8576, allocations: 0 / 0.8934 GB, free: 14.62 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06239/0.92, allocations: 25.66 MB / 0.9184 GB, free: 5.102 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.44, allocations: 8.5 kB / 0.9185 GB, free: 5.094 MB / 0.6856 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.612491531996056] Failed to read output from testmodel.py, exit status != 0: 13.61866735899821 13.644777215 12.849409732 Calling exit ...