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.001284/0.001284, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001525/0.001525, allocations: 214.8 kB / 22.99 MB, free: 4.609 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.009/1.009, allocations: 149.9 MB / 463 MB, free: 10.33 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="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.002089/0.002089, allocations: 67.48 kB / 0.641 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1889, allocations: 89.17 MB / 0.7281 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002353/0.1913, allocations: 1.261 MB / 0.7294 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5294/0.7206, allocations: 120.9 MB / 0.8474 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.482e-05/0.7207, allocations: 4 kB / 0.8474 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.349e-05/0.7207, allocations: 3.938 kB / 0.8474 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 6.428e-05/0.7208, allocations: 3.938 kB / 0.8474 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.7223, allocations: 454.3 kB / 0.8479 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.7224, allocations: 52.02 kB / 0.8479 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.7224, allocations: 2.688 kB / 0.8479 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 5.268e-05/0.7225, allocations: 22.64 kB / 0.8479 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 9.074e-05/0.7226, allocations: 19.91 kB / 0.848 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.7226, allocations: 0 / 0.848 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.724, allocations: 0.8036 MB / 0.8487 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.724, allocations: 7.328 kB / 0.8487 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.7241, allocations: 23.11 kB / 0.8488 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0006052/0.7247, allocations: 447.8 kB / 0.8492 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7247, allocations: 0 / 0.8492 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7247, allocations: 0 / 0.8492 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.7247, allocations: 0 / 0.8492 GB, free: 6.594 MB / 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.0005268/0.7252, allocations: 297.9 kB / 0.8495 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.7253, allocations: 7.562 kB / 0.8495 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.775e-05/0.7253, allocations: 37.75 kB / 0.8495 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.7255, allocations: 16.45 kB / 0.8495 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.7256, allocations: 113.3 kB / 0.8496 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.7256, allocations: 0.5625 kB / 0.8496 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.7256, allocations: 10.84 kB / 0.8497 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.7258, allocations: 129.8 kB / 0.8498 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.7258, allocations: 0 / 0.8498 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.7258, allocations: 6.469 kB / 0.8498 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.7258, allocations: 0 / 0.8498 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.267e-05/0.7259, allocations: 14.92 kB / 0.8498 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002105/0.7261, allocations: 140.3 kB / 0.8499 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.7262, allocations: 57.62 kB / 0.85 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.096e-05/0.7263, allocations: 24.53 kB / 0.85 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01147/0.7377, allocations: 2.865 MB / 0.8528 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.077e-05/0.7378, allocations: 34 kB / 0.8528 GB, free: 4.582 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 1.973e-06/0.7378, allocations: 0 / 0.8528 GB, free: 4.582 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11): time 0.04429/0.7821, allocations: 14.93 MB / 0.8674 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.7821, allocations: 51.41 kB / 0.8675 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.555e-05/0.7822, allocations: 101.8 kB / 0.8676 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.7822, allocations: 25.7 kB / 0.8676 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.7823, allocations: 84.08 kB / 0.8677 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/0.7823, allocations: 43.64 kB / 0.8677 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.897e-05/0.7824, allocations: 33.7 kB / 0.8677 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.7825, allocations: 318.8 kB / 0.868 GB, free: 5.398 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.54e-05/0.7826, allocations: 23.98 kB / 0.8681 GB, free: 5.375 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.743e-05/0.7827, allocations: 23.98 kB / 0.8681 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.7828, allocations: 64.11 kB / 0.8682 GB, free: 5.289 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.7828, allocations: 0 / 0.8682 GB, free: 5.289 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002427/0.783, allocations: 106.5 kB / 0.8683 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.7831, allocations: 4 kB / 0.8683 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.7831, allocations: 0 / 0.8683 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.7831, allocations: 3.938 kB / 0.8683 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.7832, allocations: 23.98 kB / 0.8683 GB, free: 5.148 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.7832, allocations: 4 kB / 0.8683 GB, free: 5.145 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.856e-05/0.7833, allocations: 4 kB / 0.8683 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.7833, allocations: 7.5 kB / 0.8683 GB, free: 5.137 MB / 0.6387 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.0001343/0.7834, allocations: 117.8 kB / 0.8684 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.7835, allocations: 11.94 kB / 0.8684 GB, free: 5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003285/0.7838, allocations: 134.9 kB / 0.8686 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.7838, allocations: 0 / 0.8686 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7838, allocations: 0 / 0.8686 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.7838, allocations: 4 kB / 0.8686 GB, free: 4.859 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.784, allocations: 148.7 kB / 0.8687 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.784, allocations: 4 kB / 0.8687 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.7841, allocations: 23.98 kB / 0.8687 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.7841, allocations: 0 / 0.8687 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.7842, allocations: 4 kB / 0.8687 GB, free: 4.641 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.7842, allocations: 4 kB / 0.8687 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.7842, allocations: 0 / 0.8687 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/0.7845, allocations: 157.5 kB / 0.8689 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.802e-05/0.7846, allocations: 12.03 kB / 0.8689 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.7846, allocations: 0 / 0.8689 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.7847, allocations: 16 kB / 0.8689 GB, free: 4.438 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.7848, allocations: 7.984 kB / 0.8689 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.7848, allocations: 11.98 kB / 0.8689 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.937e-05/0.7848, allocations: 75.28 kB / 0.869 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.7848, allocations: 0 / 0.869 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002345/0.7872, allocations: 0.566 MB / 0.8696 GB, free: 3.777 MB / 0.6387 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.003695/0.7909, allocations: 0.9422 MB / 0.8705 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.7911, allocations: 63.91 kB / 0.8705 GB, free: 2.746 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.7911, allocations: 0 / 0.8705 GB, free: 2.746 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.797e-05/0.7911, allocations: 35.98 kB / 0.8706 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.7914, allocations: 13.19 kB / 0.8706 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.7938, allocations: 1.554 MB / 0.8721 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.307e-05/0.7938, allocations: 71.25 kB / 0.8722 GB, free: 0.9844 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 8.342e-05/0.7939, allocations: 20.55 kB / 0.8722 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.928e-05/0.7939, allocations: 23.42 kB / 0.8722 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of SimCode: time 5.01e-07/0.7939, allocations: 0 / 0.8722 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0685/0.8624, allocations: 26.02 MB / 0.8976 GB, free: 7.059 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/13.08, allocations: 5.875 kB / 0.8976 GB, free: 7.055 MB / 0.67 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.321673176717013] Failed to read output from testmodel.py, exit status != 0: 13.204842811916023 13.22888927 12.49947812 Calling exit ...