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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 119.2 kB / 17.13 MB, free: 5.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 195.7 kB / 20.08 MB, free: 3.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 225.6 MB / 248.5 MB, free: 3.656 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8917/0.8917, allocations: 129.2 MB / 432.5 MB, free: 13.16 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 67.84 kB / 0.5987 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4845/0.4865, allocations: 83.43 MB / 0.6801 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002232/0.4887, allocations: 1.26 MB / 0.6814 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1731/0.6619, allocations: 138.1 MB / 0.8162 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.6619, allocations: 0 / 0.8162 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.6619, allocations: 7.922 kB / 0.8162 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 6.999e-05/0.662, allocations: 3.938 kB / 0.8163 GB, free: 2.117 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.6634, allocations: 458.3 kB / 0.8167 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.6635, allocations: 43.84 kB / 0.8167 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.785e-05/0.6636, allocations: 11.98 kB / 0.8167 GB, free: 1.613 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 5.211e-05/0.6636, allocations: 23.92 kB / 0.8168 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.645e-05/0.6637, allocations: 11.97 kB / 0.8168 GB, free: 1.578 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.6637, allocations: 4 kB / 0.8168 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.6653, allocations: 0.8309 MB / 0.8176 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.6653, allocations: 11.92 kB / 0.8176 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.6653, allocations: 12 kB / 0.8176 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0006518/0.666, allocations: 445.9 kB / 0.818 GB, free: 292 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.666, allocations: 4 kB / 0.818 GB, free: 288 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.382e-06/0.666, allocations: 0 / 0.818 GB, free: 288 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.584e-05/0.666, allocations: 4 kB / 0.818 GB, free: 284 kB / 0.6231 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.0005945/0.6666, allocations: 371.2 kB / 0.8184 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.328e-05/0.6667, allocations: 12.03 kB / 0.8184 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.376e-05/0.6667, allocations: 42.67 kB / 0.8185 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.6669, allocations: 12.89 kB / 0.8185 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.6671, allocations: 160.4 kB / 0.8186 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.6671, allocations: 4.375 kB / 0.8186 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.6671, allocations: 11.92 kB / 0.8186 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.6673, allocations: 57.67 kB / 0.8187 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.6673, allocations: 0 / 0.8187 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.6673, allocations: 4 kB / 0.8187 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.6673, allocations: 3.984 kB / 0.8187 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.972e-05/0.6674, allocations: 23.97 kB / 0.8187 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000253/0.6677, allocations: 165.5 kB / 0.8189 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.6678, allocations: 50.5 kB / 0.8189 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.87e-05/0.6678, allocations: 17.08 kB / 0.8189 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/0.6793, allocations: 3.209 MB / 0.8221 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.6793, allocations: 30.56 kB / 0.8221 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/0.6793, allocations: 0 / 0.8221 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.04248/0.7218, allocations: 15 MB / 0.8368 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.7219, allocations: 55.34 kB / 0.8368 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.345e-05/0.7219, allocations: 93.86 kB / 0.8369 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.722, allocations: 29.7 kB / 0.8369 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.722, allocations: 80.14 kB / 0.837 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.722, allocations: 43.62 kB / 0.837 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.261e-05/0.7221, allocations: 33.83 kB / 0.8371 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.7223, allocations: 318.8 kB / 0.8374 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.488e-05/0.7223, allocations: 23.98 kB / 0.8374 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.06e-05/0.7224, allocations: 23.98 kB / 0.8374 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.7225, allocations: 56.86 kB / 0.8375 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.7225, allocations: 0 / 0.8375 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002497/0.7227, allocations: 116.9 kB / 0.8376 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.7228, allocations: 8 kB / 0.8376 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.7228, allocations: 0 / 0.8376 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.7228, allocations: 0 / 0.8376 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.7229, allocations: 27.98 kB / 0.8376 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.7229, allocations: 3.938 kB / 0.8376 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.925e-05/0.723, allocations: 4 kB / 0.8376 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.723, allocations: 4 kB / 0.8376 GB, free: 11.74 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 0.0001105/0.7231, allocations: 117.8 kB / 0.8377 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.512e-05/0.7231, allocations: 7.953 kB / 0.8378 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.7234, allocations: 125.4 kB / 0.8379 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.7234, allocations: 4 kB / 0.8379 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.7234, allocations: 3.984 kB / 0.8379 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7234, allocations: 0 / 0.8379 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.7236, allocations: 177.6 kB / 0.8381 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7236, allocations: 0 / 0.8381 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.7237, allocations: 27.98 kB / 0.8381 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.7237, allocations: 0 / 0.8381 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.7238, allocations: 4 kB / 0.8381 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.7238, allocations: 4 kB / 0.8381 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7238, allocations: 3.938 kB / 0.8381 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003199/0.7241, allocations: 161.1 kB / 0.8382 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.647e-05/0.7242, allocations: 89.14 kB / 0.8383 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.7242, allocations: 0 / 0.8383 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.7243, allocations: 11.98 kB / 0.8383 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.7244, allocations: 12 kB / 0.8384 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.7244, allocations: 4 kB / 0.8384 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.368e-05/0.7244, allocations: 79.27 kB / 0.8384 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6e-08/0.7244, allocations: 0 / 0.8384 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001849/0.7263, allocations: 0.5699 MB / 0.839 GB, free: 10.25 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.004013/0.7303, allocations: 0.9479 MB / 0.8399 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.7305, allocations: 67.84 kB / 0.84 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.7305, allocations: 0 / 0.84 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.468e-05/0.7306, allocations: 24 kB / 0.84 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.7308, allocations: 14.23 kB / 0.84 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.7331, allocations: 1.543 MB / 0.8415 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.7334, allocations: 0.6922 MB / 0.8422 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.972e-05/0.7335, allocations: 20.55 kB / 0.8422 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.706e-05/0.7336, allocations: 23.44 kB / 0.8422 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.7336, allocations: 0 / 0.8422 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4162/1.15, allocations: 25.44 MB / 0.8671 GB, free: 156.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.995/10.14, allocations: 13.48 kB / 0.8671 GB, free: 156.5 MB / 0.67 GB " [Timeout remaining time 650] (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: 17.23222144972533] Failed to read output from testmodel.py, exit status != 0: 10.22384605417028 10.235760442 9.567337283 Calling exit ...