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.001454/0.001454, allocations: 73.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001603/0.001603, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.9743/0.9743, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.00173/0.00173, allocations: 237.5 kB / 261.3 MB, free: 12.66 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 0.7939/0.7939, allocations: 138.4 MB / 456.3 MB, free: 30.05 MB / 410.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.142e-06/1.142e-06, allocations: 0 / 0.5563 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.606e-05, allocations: 2.312 kB / 0.5563 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.001969/0.001985, allocations: 1.314 MB / 0.5576 GB, free: 14.6 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3421/0.344, allocations: 130.9 MB / 0.6854 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.489e-05/0.3441, allocations: 0 / 0.6854 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.227e-05/0.3441, allocations: 10.77 kB / 0.6854 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.871e-05/0.3442, allocations: 5.297 kB / 0.6854 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.3455, allocations: 466.5 kB / 0.6858 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.26e-05/0.3456, allocations: 40.56 kB / 0.6859 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.822e-05/0.3456, allocations: 4.438 kB / 0.6859 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.012e-05/0.3457, allocations: 34.91 kB / 0.6859 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.281e-05/0.3458, allocations: 20.36 kB / 0.6859 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.3458, allocations: 1.812 kB / 0.6859 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.347, allocations: 0.7997 MB / 0.6867 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/0.347, allocations: 12.25 kB / 0.6867 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.3471, allocations: 11.27 kB / 0.6867 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0006303/0.3477, allocations: 0.5563 MB / 0.6873 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3477, allocations: 3.688 kB / 0.6873 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3477, allocations: 3.938 kB / 0.6873 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.3477, allocations: 0 / 0.6873 GB, free: 53.54 MB / 0.5573 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.0003635/0.3481, allocations: 400.7 kB / 0.6877 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3481, allocations: 12.72 kB / 0.6877 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.3482, allocations: 21.08 kB / 0.6877 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.599e-05/0.3483, allocations: 111.8 kB / 0.6878 GB, free: 53.03 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.3483, allocations: 7.219 kB / 0.6878 GB, free: 53.03 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.3483, allocations: 6.609 kB / 0.6878 GB, free: 53.03 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.145e-05/0.3484, allocations: 126.2 kB / 0.6879 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3484, allocations: 2.625 kB / 0.6879 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.3484, allocations: 7.25 kB / 0.6879 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3484, allocations: 3.594 kB / 0.6879 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.038e-05/0.3485, allocations: 15.84 kB / 0.688 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.191e-05/0.3486, allocations: 110.7 kB / 0.6881 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.935e-05/0.3486, allocations: 53.34 kB / 0.6881 GB, free: 52.74 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.467e-05/0.3486, allocations: 13.75 kB / 0.6881 GB, free: 52.73 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004623/0.3533, allocations: 2.456 MB / 0.6905 GB, free: 52.53 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.3533, allocations: 36.52 kB / 0.6906 GB, free: 52.49 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.3533, allocations: 4 kB / 0.6906 GB, free: 52.48 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.01671/0.37, allocations: 6.345 MB / 0.6968 GB, free: 50.89 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.37, allocations: 52.59 kB / 0.6968 GB, free: 50.83 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.331e-05/0.3701, allocations: 156.2 kB / 0.697 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.3701, allocations: 31.14 kB / 0.697 GB, free: 50.63 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.386e-05/0.3701, allocations: 126.9 kB / 0.6971 GB, free: 50.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.3701, allocations: 40.89 kB / 0.6972 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.3701, allocations: 39.34 kB / 0.6972 GB, free: 50.45 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.681e-05/0.3702, allocations: 497.9 kB / 0.6977 GB, free: 49.96 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.3702, allocations: 15.64 kB / 0.6977 GB, free: 49.96 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.741e-05/0.3702, allocations: 18.17 kB / 0.6977 GB, free: 49.95 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.102e-05/0.3703, allocations: 47.47 kB / 0.6977 GB, free: 49.94 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.3703, allocations: 0 / 0.6977 GB, free: 49.94 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001268/0.3704, allocations: 100.9 kB / 0.6978 GB, free: 49.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3704, allocations: 5.656 kB / 0.6978 GB, free: 49.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3704, allocations: 3.938 kB / 0.6978 GB, free: 49.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.3705, allocations: 1.219 kB / 0.6978 GB, free: 49.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.3705, allocations: 30.39 kB / 0.6979 GB, free: 49.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.3705, allocations: 1.188 kB / 0.6979 GB, free: 49.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.542e-05/0.3705, allocations: 1.281 kB / 0.6979 GB, free: 49.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.3705, allocations: 8.266 kB / 0.6979 GB, free: 49.89 MB / 0.5573 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 4.321e-05/0.3706, allocations: 161.8 kB / 0.698 GB, free: 49.73 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.3706, allocations: 10.28 kB / 0.6981 GB, free: 49.73 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.3708, allocations: 119.5 kB / 0.6982 GB, free: 49.68 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3708, allocations: 0 / 0.6982 GB, free: 49.68 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.3708, allocations: 1.875 kB / 0.6982 GB, free: 49.68 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3708, allocations: 6.812 kB / 0.6982 GB, free: 49.68 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.476e-05/0.3708, allocations: 107.9 kB / 0.6983 GB, free: 49.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.3708, allocations: 0 / 0.6983 GB, free: 49.56 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.99e-05/0.3709, allocations: 32.75 kB / 0.6983 GB, free: 49.56 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.3709, allocations: 0 / 0.6983 GB, free: 49.56 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.3709, allocations: 9.766 kB / 0.6983 GB, free: 49.56 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3709, allocations: 0 / 0.6983 GB, free: 49.56 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3709, allocations: 5 kB / 0.6983 GB, free: 49.55 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.3711, allocations: 146.7 kB / 0.6985 GB, free: 49.46 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.3711, allocations: 13.06 kB / 0.6985 GB, free: 49.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-06/0.3711, allocations: 5.188 kB / 0.6985 GB, free: 49.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.248e-05/0.3712, allocations: 11.25 kB / 0.6985 GB, free: 49.46 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.3712, allocations: 8.078 kB / 0.6985 GB, free: 49.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.3712, allocations: 10.48 kB / 0.6985 GB, free: 49.46 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.26e-05/0.3712, allocations: 120.7 kB / 0.6986 GB, free: 49.34 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.3712, allocations: 0 / 0.6986 GB, free: 49.34 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001265/0.3725, allocations: 0.562 MB / 0.6992 GB, free: 49.32 MB / 0.5573 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.00204/0.3745, allocations: 380.2 kB / 0.6995 GB, free: 49.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.3746, allocations: 57.03 kB / 0.6996 GB, free: 49.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3746, allocations: 1.5 kB / 0.6996 GB, free: 49.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.378e-05/0.3747, allocations: 39.97 kB / 0.6996 GB, free: 49.16 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.3748, allocations: 22.48 kB / 0.6996 GB, free: 49.16 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/0.3753, allocations: 281.8 kB / 0.6999 GB, free: 48.95 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.316e-05/0.3753, allocations: 64.09 kB / 0.7 GB, free: 48.88 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.936e-05/0.3754, allocations: 28.09 kB / 0.7 GB, free: 48.86 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.223e-05/0.3755, allocations: 98.8 kB / 0.7001 GB, free: 48.8 MB / 0.5573 GB Notification: Performance of SimCode: time 5.01e-07/0.3755, allocations: 4 kB / 0.7001 GB, free: 48.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.0306/0.4061, allocations: 27.07 MB / 0.7265 GB, free: 37.49 MB / 0.5573 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.990611441899091]