Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001215/0.001215, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001424/0.001424, allocations: 219.1 kB / 23.03 MB, free: 4.922 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.377/1.377, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002406/0.002406, allocations: 290.1 kB / 313.5 MB, free: 2.703 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.161/1.161, allocations: 180.6 MB / 0.5377 GB, free: 14.45 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002839/0.002839, allocations: 107.8 kB / 0.7402 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1692, allocations: 95.38 MB / 0.8334 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002457/0.1717, allocations: 1.274 MB / 0.8346 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1437/0.3154, allocations: 120.8 MB / 0.9526 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.788e-05/0.3154, allocations: 0 / 0.9526 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.3154, allocations: 0 / 0.9526 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 5.187e-05/0.3155, allocations: 11.94 kB / 0.9526 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.3168, allocations: 458.5 kB / 0.9531 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 7.783e-05/0.3169, allocations: 47.84 kB / 0.9531 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.3169, allocations: 7.984 kB / 0.9531 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 4.193e-05/0.317, allocations: 19.92 kB / 0.9531 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 7.578e-05/0.3171, allocations: 19.91 kB / 0.9532 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.3171, allocations: 8 kB / 0.9532 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.3185, allocations: 0.8036 MB / 0.9539 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.3185, allocations: 15.98 kB / 0.954 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 3.849e-05/0.3186, allocations: 19.92 kB / 0.954 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0006519/0.3192, allocations: 455 kB / 0.9544 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3192, allocations: 0 / 0.9544 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3192, allocations: 0 / 0.9544 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.3192, allocations: 0 / 0.9544 GB, free: 11.96 MB / 0.7012 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.0005109/0.3198, allocations: 294.1 kB / 0.9547 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.3198, allocations: 13.34 kB / 0.9547 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.785e-05/0.3198, allocations: 192 / 0.9547 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.283e-05/0.3198, allocations: 30.75 kB / 0.9547 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000208/0.3201, allocations: 12.94 kB / 0.9547 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.477e-05/0.3201, allocations: 114.5 kB / 0.9549 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.3202, allocations: 4.125 kB / 0.9549 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.3202, allocations: 11.95 kB / 0.9549 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.3204, allocations: 126.8 kB / 0.955 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.3204, allocations: 0 / 0.955 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.3204, allocations: 8 kB / 0.955 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.3204, allocations: 3.938 kB / 0.955 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.531e-05/0.3205, allocations: 11.98 kB / 0.955 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.3207, allocations: 136.8 kB / 0.9551 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.3208, allocations: 58.48 kB / 0.9552 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.966e-05/0.3208, allocations: 16.86 kB / 0.9552 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01096/0.3318, allocations: 2.88 MB / 0.958 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.3318, allocations: 30.56 kB / 0.9581 GB, free: 8.07 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/0.3318, allocations: 3.938 kB / 0.9581 GB, free: 8.066 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.04033/0.3721, allocations: 14.92 MB / 0.9726 GB, free: 9.016 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.3722, allocations: 59.34 kB / 0.9727 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.66e-05/0.3723, allocations: 97.86 kB / 0.9728 GB, free: 8.84 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.3723, allocations: 25.7 kB / 0.9728 GB, free: 8.809 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.3723, allocations: 80.14 kB / 0.9729 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.3724, allocations: 43.64 kB / 0.9729 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.3724, allocations: 29.72 kB / 0.973 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3726, allocations: 326.8 kB / 0.9733 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.428e-05/0.3726, allocations: 19.98 kB / 0.9733 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.142e-05/0.3726, allocations: 20 kB / 0.9733 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.3728, allocations: 66.66 kB / 0.9734 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3728, allocations: 4.125 kB / 0.9734 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002243/0.373, allocations: 113.6 kB / 0.9735 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.373, allocations: 4 kB / 0.9735 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.373, allocations: 0 / 0.9735 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.373, allocations: 4 kB / 0.9735 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.3731, allocations: 20 kB / 0.9735 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3731, allocations: 3.984 kB / 0.9735 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.767e-05/0.3732, allocations: 4 kB / 0.9735 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.3732, allocations: 4 kB / 0.9735 GB, free: 8.055 MB / 0.7169 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.192e-05/0.3733, allocations: 122.4 kB / 0.9736 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/0.3733, allocations: 8 kB / 0.9736 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.3736, allocations: 121.4 kB / 0.9738 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3736, allocations: 4 kB / 0.9738 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3736, allocations: 0 / 0.9738 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3736, allocations: 0 / 0.9738 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.3738, allocations: 148.7 kB / 0.9739 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3738, allocations: 4 kB / 0.9739 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.3739, allocations: 31.92 kB / 0.9739 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3739, allocations: 0 / 0.9739 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.3739, allocations: 8 kB / 0.9739 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3739, allocations: 0 / 0.9739 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3739, allocations: 0 / 0.9739 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.3742, allocations: 161.1 kB / 0.9741 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.3743, allocations: 16.08 kB / 0.9741 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.3743, allocations: 3.984 kB / 0.9741 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.3744, allocations: 19.98 kB / 0.9741 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.022e-05/0.3744, allocations: 7.984 kB / 0.9741 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.3744, allocations: 4 kB / 0.9741 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.231e-05/0.3745, allocations: 83.28 kB / 0.9742 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.3745, allocations: 3.938 kB / 0.9742 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001918/0.3764, allocations: 0.5583 MB / 0.9748 GB, free: 6.68 MB / 0.7169 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.003679/0.3801, allocations: 0.9422 MB / 0.9757 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001866/0.3803, allocations: 59.92 kB / 0.9758 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3803, allocations: 0 / 0.9758 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.22e-05/0.3803, allocations: 35.92 kB / 0.9758 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.3805, allocations: 11.94 kB / 0.9758 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.3827, allocations: 1.549 MB / 0.9773 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.467e-05/0.3828, allocations: 75.78 kB / 0.9774 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.566e-05/0.3829, allocations: 24.97 kB / 0.9774 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.937e-05/0.3829, allocations: 23.44 kB / 0.9774 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of SimCode: time 6.31e-07/0.3829, allocations: 0 / 0.9774 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4029/0.7859, allocations: 25.74 MB / 1.003 GB, free: 137 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.35, allocations: 14.66 kB / 1.003 GB, free: 137 MB / 0.7169 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.593419181066565] Failed to read output from testmodel.py, exit status != 0: 12.514753313036636 12.524548885 12.203208941 Calling exit ...