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.001461/0.001461, allocations: 78.25 kB / 19.18 MB, free: 2.512 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.001463/0.001463, allocations: 163.7 kB / 22.46 MB, free: 5.367 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.432/1.432, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.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.002667/0.002667, allocations: 245.8 kB / 259.4 MB, free: 444 kB / 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.103/1.103, allocations: 138.4 MB / 454.3 MB, free: 2.012 MB / 366.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: translateModel(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") translateModel(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.6467 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.654e-05, allocations: 2.281 kB / 0.6467 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002154/0.00218, allocations: 1.286 MB / 0.648 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4601/0.4623, allocations: 120.9 MB / 0.7661 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.7e-05/0.4623, allocations: 0 / 0.7661 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.547e-05/0.4624, allocations: 0 / 0.7661 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.607e-05/0.4624, allocations: 3.938 kB / 0.7661 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.4641, allocations: 467.9 kB / 0.7666 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.877e-05/0.4642, allocations: 47.83 kB / 0.7666 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.4642, allocations: 1.594 kB / 0.7666 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 7.471e-05/0.4643, allocations: 31.95 kB / 0.7666 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.379e-05/0.4644, allocations: 11.92 kB / 0.7666 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.4644, allocations: 4 kB / 0.7667 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.4661, allocations: 0.8074 MB / 0.7674 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.4662, allocations: 0 / 0.7674 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.4662, allocations: 19.97 kB / 0.7675 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009542/0.4672, allocations: 0.5574 MB / 0.768 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4672, allocations: 0 / 0.768 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4672, allocations: 4 kB / 0.768 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.4672, allocations: 0 / 0.768 GB, free: 4.445 MB / 0.5919 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.0005669/0.4677, allocations: 298.1 kB / 0.7683 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.4678, allocations: 9.344 kB / 0.7683 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002097/0.468, allocations: 13.44 kB / 0.7683 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.4681, allocations: 113.7 kB / 0.7684 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.4681, allocations: 384 / 0.7684 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.4681, allocations: 8.328 kB / 0.7684 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.4683, allocations: 135.4 kB / 0.7686 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.4683, allocations: 0 / 0.7686 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.4684, allocations: 11.94 kB / 0.7686 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4684, allocations: 0 / 0.7686 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.694e-05/0.4684, allocations: 19.97 kB / 0.7686 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.4686, allocations: 113.3 kB / 0.7687 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.4687, allocations: 50.5 kB / 0.7687 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/0.4688, allocations: 12.86 kB / 0.7688 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01178/0.4805, allocations: 2.875 MB / 0.7716 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.4806, allocations: 38.56 kB / 0.7716 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/0.4806, allocations: 0 / 0.7716 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0452/0.5258, allocations: 14.92 MB / 0.7862 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.5258, allocations: 55.39 kB / 0.7862 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.632e-05/0.5259, allocations: 89.86 kB / 0.7863 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.5259, allocations: 33.7 kB / 0.7863 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.526, allocations: 84.08 kB / 0.7864 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.526, allocations: 39.64 kB / 0.7865 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.5261, allocations: 33.84 kB / 0.7865 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5262, allocations: 326.7 kB / 0.7868 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.214e-05/0.5262, allocations: 23.98 kB / 0.7868 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.353e-05/0.5263, allocations: 20 kB / 0.7868 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.5265, allocations: 65.22 kB / 0.7869 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.5265, allocations: 0 / 0.7869 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00024/0.5267, allocations: 104.6 kB / 0.787 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.5267, allocations: 7.938 kB / 0.787 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5267, allocations: 3.984 kB / 0.787 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.5267, allocations: 0 / 0.787 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.5268, allocations: 27.94 kB / 0.787 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.5268, allocations: 4 kB / 0.7871 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.826e-05/0.5269, allocations: 4 kB / 0.7871 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.5269, allocations: 10.48 kB / 0.7871 GB, free: 0.6484 MB / 0.6075 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 8.994e-05/0.527, allocations: 113.8 kB / 0.7872 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.527, allocations: 7.938 kB / 0.7872 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002875/0.5273, allocations: 127.3 kB / 0.7873 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.5273, allocations: 4 kB / 0.7873 GB, free: 400 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.5273, allocations: 0 / 0.7873 GB, free: 400 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.5273, allocations: 0 / 0.7873 GB, free: 400 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.5275, allocations: 125.3 kB / 0.7874 GB, free: 244 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.5275, allocations: 0 / 0.7874 GB, free: 244 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.5276, allocations: 23.98 kB / 0.7875 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5276, allocations: 0 / 0.7875 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.5276, allocations: 11.94 kB / 0.7875 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.5276, allocations: 0 / 0.7875 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5276, allocations: 0 / 0.7875 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.5279, allocations: 149 kB / 0.7876 GB, free: 40 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.528, allocations: 19.98 kB / 0.7876 GB, free: 20 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.528, allocations: 7.875 kB / 0.7876 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.5281, allocations: 16.03 kB / 0.7876 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.013e-05/0.5282, allocations: 7.938 kB / 0.7877 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.5282, allocations: 4 kB / 0.7877 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.288e-05/0.5282, allocations: 79.28 kB / 0.7877 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.5282, allocations: 0 / 0.7877 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001709/0.5299, allocations: 0.5699 MB / 0.7883 GB, free: 15.34 MB / 0.6231 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.003557/0.5335, allocations: 398.7 kB / 0.7887 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001915/0.5337, allocations: 60.92 kB / 0.7887 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5337, allocations: 0 / 0.7887 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.921e-05/0.5337, allocations: 33.67 kB / 0.7888 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.5339, allocations: 12.56 kB / 0.7888 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005478/0.5345, allocations: 273.2 kB / 0.789 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.837e-05/0.5345, allocations: 67.34 kB / 0.7891 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.191e-05/0.5346, allocations: 29.12 kB / 0.7891 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.5347, allocations: 16.5 kB / 0.7891 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of SimCode: time 3.2e-07/0.5347, allocations: 0 / 0.7891 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of Templates: time 0.03739/0.572, allocations: 24.32 MB / 0.8129 GB, free: 6.129 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.698409467935562] Failed to read output from testmodel.py, exit status != 0: 0.5804517306387424 0.596526481 0.126069291 Calling exit ...