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.001425/0.001425, allocations: 119 kB / 19.69 MB, free: 2.199 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.001791/0.001791, allocations: 224.6 kB / 23.01 MB, free: 5.047 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.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 7.961 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.058/1.058, allocations: 150 MB / 463.2 MB, free: 10.43 MB / 366.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck",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.002267/0.002267, allocations: 65.66 kB / 0.6412 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1805, allocations: 89.16 MB / 0.7283 GB, free: 1.223 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002695/0.1832, allocations: 1.294 MB / 0.7296 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5248/0.7079, allocations: 141 MB / 0.8672 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.636e-05/0.708, allocations: 0 / 0.8672 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.708, allocations: 3.938 kB / 0.8672 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.635e-05/0.708, allocations: 10.52 kB / 0.8672 GB, free: 7.527 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.7096, allocations: 467.9 kB / 0.8677 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.554e-05/0.7097, allocations: 40.33 kB / 0.8677 GB, free: 7.18 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.7098, allocations: 2.844 kB / 0.8677 GB, free: 7.18 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.918e-05/0.7098, allocations: 25.88 kB / 0.8678 GB, free: 7.164 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.208e-05/0.7099, allocations: 23.44 kB / 0.8678 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.7099, allocations: 2.781 kB / 0.8678 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.7115, allocations: 0.841 MB / 0.8686 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.7115, allocations: 3.281 kB / 0.8686 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.7116, allocations: 22.55 kB / 0.8686 GB, free: 6.695 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0007232/0.7123, allocations: 450.9 kB / 0.8691 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.7123, allocations: 0 / 0.8691 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7123, allocations: 0 / 0.8691 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.7123, allocations: 2.75 kB / 0.8691 GB, free: 6.41 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.0006423/0.713, allocations: 300.1 kB / 0.8694 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.713, allocations: 8 kB / 0.8694 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.139e-05/0.713, allocations: 37.03 kB / 0.8694 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.7132, allocations: 12.92 kB / 0.8694 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.7133, allocations: 112.5 kB / 0.8695 GB, free: 5.938 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.7134, allocations: 7.5 kB / 0.8695 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/0.7134, allocations: 5.75 kB / 0.8695 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.7135, allocations: 54.36 kB / 0.8696 GB, free: 5.883 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.7136, allocations: 4 kB / 0.8696 GB, free: 5.879 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.7136, allocations: 2.906 kB / 0.8696 GB, free: 5.879 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.7136, allocations: 0 / 0.8696 GB, free: 5.879 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.069e-05/0.7136, allocations: 18.17 kB / 0.8696 GB, free: 5.871 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.7138, allocations: 140.4 kB / 0.8697 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.714, allocations: 54.8 kB / 0.8698 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.714, allocations: 17.8 kB / 0.8698 GB, free: 5.641 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01115/0.7252, allocations: 2.863 MB / 0.8726 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.274e-05/0.7252, allocations: 38.56 kB / 0.8726 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 2.264e-06/0.7252, allocations: 0 / 0.8726 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.04335/0.7686, allocations: 14.92 MB / 0.8872 GB, free: 4.258 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.7686, allocations: 55.41 kB / 0.8873 GB, free: 4.191 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.151e-05/0.7687, allocations: 93.84 kB / 0.8874 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.7687, allocations: 29.7 kB / 0.8874 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.7687, allocations: 80.14 kB / 0.8875 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/0.7688, allocations: 43.62 kB / 0.8875 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.7689, allocations: 41.59 kB / 0.8875 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.769, allocations: 318.8 kB / 0.8878 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-05/0.769, allocations: 31.94 kB / 0.8879 GB, free: 3.535 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.592e-05/0.7691, allocations: 19.98 kB / 0.8879 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.7692, allocations: 64.84 kB / 0.888 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.7692, allocations: 0 / 0.888 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002278/0.7695, allocations: 97.69 kB / 0.888 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.7695, allocations: 6.5 kB / 0.8881 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.7695, allocations: 0 / 0.8881 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.7695, allocations: 0 / 0.8881 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.7696, allocations: 31.92 kB / 0.8881 GB, free: 3.312 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.7696, allocations: 4 kB / 0.8881 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.608e-05/0.7697, allocations: 4 kB / 0.8881 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.7697, allocations: 8 kB / 0.8881 GB, free: 3.297 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.603e-05/0.7698, allocations: 119.7 kB / 0.8882 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/0.7698, allocations: 7.953 kB / 0.8882 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002792/0.7701, allocations: 133.3 kB / 0.8883 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7701, allocations: 0 / 0.8883 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.7701, allocations: 0 / 0.8883 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.7701, allocations: 0 / 0.8883 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.7703, allocations: 148.7 kB / 0.8885 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7703, allocations: 0 / 0.8885 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.7704, allocations: 27.98 kB / 0.8885 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.7704, allocations: 0 / 0.8885 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.7704, allocations: 0 / 0.8885 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7704, allocations: 0 / 0.8885 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7704, allocations: 0 / 0.8885 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.7707, allocations: 161.5 kB / 0.8887 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.7708, allocations: 24.05 kB / 0.8887 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.7708, allocations: 0 / 0.8887 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.7709, allocations: 11.98 kB / 0.8887 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.771, allocations: 11.98 kB / 0.8887 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.771, allocations: 4 kB / 0.8887 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.35e-05/0.771, allocations: 79.28 kB / 0.8888 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.771, allocations: 0 / 0.8888 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001783/0.7728, allocations: 0.566 MB / 0.8893 GB, free: 1.941 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.003653/0.7764, allocations: 0.9494 MB / 0.8903 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001987/0.7766, allocations: 59.98 kB / 0.8903 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.7766, allocations: 4 kB / 0.8903 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.367e-05/0.7767, allocations: 31.92 kB / 0.8904 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.7769, allocations: 11.94 kB / 0.8904 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.7793, allocations: 1.552 MB / 0.8919 GB, free: 15.24 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.7796, allocations: 0.6846 MB / 0.8926 GB, free: 14.53 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 9.116e-05/0.7797, allocations: 24.53 kB / 0.8926 GB, free: 14.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.558e-05/0.7797, allocations: 23.44 kB / 0.8926 GB, free: 14.48 MB / 0.67 GB Notification: Performance of SimCode: time 6.41e-07/0.7797, allocations: 0 / 0.8926 GB, free: 14.48 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07071/0.8504, allocations: 25.63 MB / 0.9176 GB, free: 4.977 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.94, allocations: 11.12 kB / 0.9177 GB, free: 4.969 MB / 0.6856 GB " [Timeout remaining time 647] (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 os._exit(0), Time elapsed: 20.61368516809307] Failed to read output from testmodel.py, exit status != 0: 13.062014409108087 13.091029306 12.373289693 Calling exit ...