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.00167/0.00167, allocations: 88.72 kB / 19.44 MB, free: 352 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.00169/0.00169, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.474/1.474, 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.002658/0.002658, allocations: 239.1 kB / 259.8 MB, free: 12.86 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.141/1.141, allocations: 138.4 MB / 454.7 MB, free: 1.484 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.743e-06/1.743e-06, allocations: 0 / 0.5543 GB, free: 0.918 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.786e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002574/0.002602, allocations: 1.271 MB / 0.5555 GB, free: 15.63 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3613/0.3639, allocations: 120.9 MB / 0.6736 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.286e-05/0.3639, allocations: 0 / 0.6736 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.488e-05/0.3639, allocations: 7.922 kB / 0.6736 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.809e-05/0.364, allocations: 3.938 kB / 0.6736 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.3652, allocations: 463.2 kB / 0.6741 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.445e-05/0.3652, allocations: 40.69 kB / 0.6741 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.015e-05/0.3653, allocations: 3.984 kB / 0.6741 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.462e-05/0.3653, allocations: 33.3 kB / 0.6742 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.239e-05/0.3654, allocations: 15.97 kB / 0.6742 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.3654, allocations: 2.719 kB / 0.6742 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.3666, allocations: 0.7993 MB / 0.675 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.3666, allocations: 10.53 kB / 0.675 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.3666, allocations: 9.688 kB / 0.675 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000535/0.3671, allocations: 0.5647 MB / 0.6755 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3672, allocations: 0 / 0.6755 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3672, allocations: 7.938 kB / 0.6755 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.3672, allocations: 2.938 kB / 0.6755 GB, free: 25.88 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.0003954/0.3676, allocations: 296.5 kB / 0.6758 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.3676, allocations: 11.22 kB / 0.6758 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001936/0.3678, allocations: 25.09 kB / 0.6759 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.466e-05/0.3678, allocations: 101.8 kB / 0.676 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3678, allocations: 7.25 kB / 0.676 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.3679, allocations: 5.781 kB / 0.676 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.368, allocations: 132.9 kB / 0.6761 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.368, allocations: 4 kB / 0.6761 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.368, allocations: 3.938 kB / 0.6761 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.368, allocations: 3.938 kB / 0.6761 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.545e-05/0.3681, allocations: 22.8 kB / 0.6761 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001122/0.3682, allocations: 112.4 kB / 0.6762 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.084e-05/0.3683, allocations: 50.12 kB / 0.6763 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.583e-05/0.3683, allocations: 16.17 kB / 0.6763 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009507/0.3778, allocations: 2.853 MB / 0.6791 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.3779, allocations: 33.38 kB / 0.6791 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.3779, allocations: 4 kB / 0.6791 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.03527/0.4131, allocations: 14.94 MB / 0.6937 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.4131, allocations: 51.41 kB / 0.6938 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.775e-05/0.4132, allocations: 93.86 kB / 0.6938 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.4132, allocations: 33.83 kB / 0.6939 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.264e-05/0.4132, allocations: 80.14 kB / 0.694 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.4132, allocations: 39.64 kB / 0.694 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.4133, allocations: 32.84 kB / 0.694 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.437e-05/0.4133, allocations: 318.8 kB / 0.6943 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.989e-05/0.4134, allocations: 25.05 kB / 0.6944 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.628e-05/0.4134, allocations: 23.94 kB / 0.6944 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.4135, allocations: 62.84 kB / 0.6944 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4135, allocations: 0 / 0.6944 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001992/0.4137, allocations: 120.1 kB / 0.6946 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.4137, allocations: 7.938 kB / 0.6946 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.4137, allocations: 4 kB / 0.6946 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.4138, allocations: 0 / 0.6946 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.4139, allocations: 23.94 kB / 0.6946 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.4139, allocations: 0 / 0.6946 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.285e-05/0.4139, allocations: 12.48 kB / 0.6946 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.4139, allocations: 0 / 0.6946 GB, free: 10.55 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 5.365e-05/0.414, allocations: 113.8 kB / 0.6947 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-05/0.414, allocations: 19.83 kB / 0.6947 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.4143, allocations: 141.1 kB / 0.6949 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.4143, allocations: 0 / 0.6949 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4143, allocations: 3.5 kB / 0.6949 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.4143, allocations: 0 / 0.6949 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.933e-05/0.4144, allocations: 121.3 kB / 0.695 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4144, allocations: 0 / 0.695 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.4145, allocations: 27.98 kB / 0.695 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.4145, allocations: 0 / 0.695 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.4145, allocations: 3.938 kB / 0.695 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4145, allocations: 8 kB / 0.695 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4145, allocations: 0 / 0.695 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.4148, allocations: 164.9 kB / 0.6952 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.4148, allocations: 16.03 kB / 0.6952 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.4148, allocations: 3.938 kB / 0.6952 GB, free: 9.883 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.415, allocations: 11.98 kB / 0.6952 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.415, allocations: 11.98 kB / 0.6952 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.415, allocations: 4 kB / 0.6952 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.749e-05/0.415, allocations: 79.28 kB / 0.6953 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.415, allocations: 0 / 0.6953 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001555/0.4166, allocations: 0.5699 MB / 0.6959 GB, free: 9.207 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.00339/0.4199, allocations: 386.8 kB / 0.6962 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001611/0.4201, allocations: 64.48 kB / 0.6963 GB, free: 8.758 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4201, allocations: 0 / 0.6963 GB, free: 8.758 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.091e-05/0.4202, allocations: 31.92 kB / 0.6963 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.4204, allocations: 23.98 kB / 0.6963 GB, free: 8.703 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004461/0.4209, allocations: 275.7 kB / 0.6966 GB, free: 8.418 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.418e-05/0.4209, allocations: 70.59 kB / 0.6967 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.337e-05/0.421, allocations: 23.67 kB / 0.6967 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.421, allocations: 24.48 kB / 0.6967 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of SimCode: time 6.41e-07/0.421, allocations: 0 / 0.6967 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of Templates: time 0.03653/0.4575, allocations: 24.83 MB / 0.721 GB, free: 15.53 MB / 0.5417 GB " [Timeout remaining time 660] 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.703260887064971]