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.002314/0.002314, allocations: 85.48 kB / 19.44 MB, free: 348 kB / 13.93 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.002785/0.002785, allocations: 177.2 kB / 22.77 MB, free: 1.664 MB / 18.57 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.606/1.606, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.003224/0.003224, allocations: 234 kB / 259.8 MB, free: 12.85 MB / 250.7 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.213/1.213, allocations: 138.4 MB / 454.7 MB, free: 1.535 MB / 362.7 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.343e-06/1.343e-06, allocations: 0 / 0.5543 GB, free: 0.957 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/2.957e-05, allocations: 5.406 kB / 0.5543 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002736/0.002766, allocations: 1.282 MB / 0.5555 GB, free: 15.66 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.4193/0.4221, allocations: 133.1 MB / 0.6855 GB, free: 19.96 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.094e-05/0.4221, allocations: 0 / 0.6855 GB, free: 19.96 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/0.4222, allocations: 7.922 kB / 0.6855 GB, free: 19.95 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.002e-05/0.4222, allocations: 4 kB / 0.6855 GB, free: 19.95 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.4234, allocations: 466.8 kB / 0.686 GB, free: 19.62 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.595e-05/0.4235, allocations: 35.7 kB / 0.686 GB, free: 19.61 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.4235, allocations: 7.016 kB / 0.686 GB, free: 19.6 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.774e-05/0.4236, allocations: 33.94 kB / 0.686 GB, free: 19.58 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.61e-05/0.4237, allocations: 13.38 kB / 0.686 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.4237, allocations: 7.281 kB / 0.686 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.4251, allocations: 0.7959 MB / 0.6868 GB, free: 19.17 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.4251, allocations: 14.8 kB / 0.6868 GB, free: 19.16 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.4251, allocations: 9.641 kB / 0.6868 GB, free: 19.16 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0006439/0.4258, allocations: 0.5635 MB / 0.6874 GB, free: 18.76 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4258, allocations: 2.906 kB / 0.6874 GB, free: 18.76 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4258, allocations: 0 / 0.6874 GB, free: 18.76 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.4258, allocations: 0 / 0.6874 GB, free: 18.76 MB / 0.5105 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.000442/0.4262, allocations: 400.8 kB / 0.6878 GB, free: 18.37 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.4262, allocations: 8.75 kB / 0.6878 GB, free: 18.37 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.4265, allocations: 26.25 kB / 0.6878 GB, free: 18.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.3e-05/0.4265, allocations: 108.6 kB / 0.6879 GB, free: 18.22 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.4265, allocations: 11.97 kB / 0.6879 GB, free: 18.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.4266, allocations: 5.812 kB / 0.6879 GB, free: 18.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.4267, allocations: 135.1 kB / 0.6881 GB, free: 18.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.4267, allocations: 0 / 0.6881 GB, free: 18.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.4267, allocations: 7 kB / 0.6881 GB, free: 18.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.4267, allocations: 0 / 0.6881 GB, free: 18.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.382e-05/0.4268, allocations: 16.64 kB / 0.6881 GB, free: 18.06 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/0.4269, allocations: 128.9 kB / 0.6882 GB, free: 17.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.709e-05/0.427, allocations: 61.67 kB / 0.6883 GB, free: 17.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.827e-05/0.427, allocations: 20.78 kB / 0.6883 GB, free: 17.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01009/0.4371, allocations: 2.882 MB / 0.6911 GB, free: 16.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.4372, allocations: 37.39 kB / 0.6911 GB, free: 16.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 2.234e-06/0.4372, allocations: 0 / 0.6911 GB, free: 16.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0335/0.4707, allocations: 8.192 MB / 0.6991 GB, free: 8.168 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.178e-05/0.4707, allocations: 59.41 kB / 0.6992 GB, free: 8.098 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.099e-05/0.4707, allocations: 153.9 kB / 0.6993 GB, free: 7.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.4708, allocations: 29.7 kB / 0.6994 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.638e-05/0.4708, allocations: 126.9 kB / 0.6995 GB, free: 7.766 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.4708, allocations: 43.64 kB / 0.6995 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.4709, allocations: 39.36 kB / 0.6996 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.897e-05/0.4709, allocations: 496.1 kB / 0.7 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.711e-05/0.4709, allocations: 23.98 kB / 0.7001 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.485e-05/0.471, allocations: 19.98 kB / 0.7001 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.4711, allocations: 64.88 kB / 0.7001 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4711, allocations: 4.125 kB / 0.7002 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001905/0.4713, allocations: 117.6 kB / 0.7003 GB, free: 6.949 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.4713, allocations: 7.938 kB / 0.7003 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4713, allocations: 0 / 0.7003 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.4713, allocations: 0 / 0.7003 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.4714, allocations: 27.98 kB / 0.7003 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.4714, allocations: 0 / 0.7003 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.524e-05/0.4715, allocations: 7.938 kB / 0.7003 GB, free: 6.906 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.4715, allocations: 4 kB / 0.7003 GB, free: 6.902 MB / 0.5105 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 6.021e-05/0.4715, allocations: 160.6 kB / 0.7005 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.4716, allocations: 27.81 kB / 0.7005 GB, free: 6.707 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.4718, allocations: 124.6 kB / 0.7006 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4718, allocations: 4 kB / 0.7006 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.4718, allocations: 0 / 0.7006 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4718, allocations: 3.984 kB / 0.7006 GB, free: 6.574 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.587e-05/0.4719, allocations: 124.6 kB / 0.7007 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4719, allocations: 0 / 0.7007 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.472, allocations: 35.92 kB / 0.7008 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.472, allocations: 4 kB / 0.7008 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.472, allocations: 3.938 kB / 0.7008 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.472, allocations: 0 / 0.7008 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.472, allocations: 0 / 0.7008 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.4723, allocations: 176.5 kB / 0.7009 GB, free: 6.184 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.4723, allocations: 7.984 kB / 0.701 GB, free: 6.176 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.4723, allocations: 3.938 kB / 0.701 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.4724, allocations: 15.98 kB / 0.701 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.4725, allocations: 7.922 kB / 0.701 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.4725, allocations: 12 kB / 0.701 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.213e-05/0.4725, allocations: 123.2 kB / 0.7011 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.4725, allocations: 0 / 0.7011 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001538/0.474, allocations: 0.5699 MB / 0.7017 GB, free: 5.445 MB / 0.5105 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.002664/0.4767, allocations: 382.8 kB / 0.702 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000162/0.4769, allocations: 79.53 kB / 0.7021 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4769, allocations: 0 / 0.7021 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.292e-05/0.4769, allocations: 35.67 kB / 0.7021 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.4772, allocations: 29.31 kB / 0.7022 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004627/0.4776, allocations: 275.4 kB / 0.7024 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.207e-05/0.4777, allocations: 82.52 kB / 0.7025 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.802e-05/0.4778, allocations: 27.02 kB / 0.7025 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.4778, allocations: 12.5 kB / 0.7025 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of SimCode: time 8.62e-07/0.4778, allocations: 0 / 0.7025 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of Templates: time 0.04892/0.5267, allocations: 26.13 MB / 0.7281 GB, free: 10.43 MB / 0.5417 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.24138302798383]