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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") translateModel(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 108.3 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 190.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002096/0.002096, allocations: 288.1 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.915/0.915, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 95.84 kB / 0.6821 GB, free: 7.02 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3695, allocations: 86.97 MB / 0.767 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002013/0.3715, allocations: 1.265 MB / 0.7683 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1299/0.5014, allocations: 137.7 MB / 0.9027 GB, free: 8.414 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.5014, allocations: 0 / 0.9027 GB, free: 8.414 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/0.5015, allocations: 3.938 kB / 0.9027 GB, free: 8.41 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 4.517e-05/0.5016, allocations: 7.984 kB / 0.9028 GB, free: 8.402 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.5028, allocations: 474 kB / 0.9032 GB, free: 7.941 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 7.488e-05/0.5029, allocations: 43.8 kB / 0.9033 GB, free: 7.898 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.331e-05/0.5029, allocations: 7.984 kB / 0.9033 GB, free: 7.891 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.314e-05/0.503, allocations: 19.97 kB / 0.9033 GB, free: 7.871 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.694e-05/0.5031, allocations: 19.86 kB / 0.9033 GB, free: 7.852 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.5031, allocations: 8 kB / 0.9033 GB, free: 7.844 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.5045, allocations: 0.827 MB / 0.9041 GB, free: 7.016 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.5045, allocations: 15.97 kB / 0.9041 GB, free: 7 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.5045, allocations: 15.94 kB / 0.9041 GB, free: 6.984 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0005683/0.5051, allocations: 447.2 kB / 0.9046 GB, free: 6.547 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5051, allocations: 0 / 0.9046 GB, free: 6.547 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5051, allocations: 0 / 0.9046 GB, free: 6.547 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.5051, allocations: 0 / 0.9046 GB, free: 6.547 MB / 0.67 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.0004488/0.5056, allocations: 373.9 kB / 0.9049 GB, free: 6.137 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.5056, allocations: 8.031 kB / 0.9049 GB, free: 6.129 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.5058, allocations: 12.92 kB / 0.9049 GB, free: 6.117 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.91e-05/0.5059, allocations: 168.4 kB / 0.9051 GB, free: 5.914 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.5059, allocations: 384 / 0.9051 GB, free: 5.914 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.506, allocations: 8.125 kB / 0.9051 GB, free: 5.906 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.5061, allocations: 57.61 kB / 0.9052 GB, free: 5.844 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.5061, allocations: 4 kB / 0.9052 GB, free: 5.84 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.5061, allocations: 0 / 0.9052 GB, free: 5.84 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.5062, allocations: 0 / 0.9052 GB, free: 5.84 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.189e-05/0.5062, allocations: 19.98 kB / 0.9052 GB, free: 5.82 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.5064, allocations: 169.6 kB / 0.9054 GB, free: 5.605 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 9.16e-05/0.5065, allocations: 54.5 kB / 0.9054 GB, free: 5.543 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.904e-05/0.5065, allocations: 20.8 kB / 0.9054 GB, free: 5.52 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01147/0.518, allocations: 3.206 MB / 0.9086 GB, free: 2.219 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.518, allocations: 38.56 kB / 0.9086 GB, free: 2.172 MB / 0.67 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.5181, allocations: 0 / 0.9086 GB, free: 2.172 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.04338/0.5614, allocations: 14.99 MB / 0.9232 GB, free: 3.027 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.5615, allocations: 55.39 kB / 0.9233 GB, free: 2.961 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.471e-05/0.5616, allocations: 97.8 kB / 0.9234 GB, free: 2.855 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.5616, allocations: 29.7 kB / 0.9234 GB, free: 2.82 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 2.257e-05/0.5616, allocations: 84.27 kB / 0.9235 GB, free: 2.734 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.5617, allocations: 39.36 kB / 0.9235 GB, free: 2.695 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.5617, allocations: 33.72 kB / 0.9236 GB, free: 2.656 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.763e-05/0.5618, allocations: 314.8 kB / 0.9239 GB, free: 2.34 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.473e-05/0.5619, allocations: 23.98 kB / 0.9239 GB, free: 2.316 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.429e-05/0.5619, allocations: 29.88 kB / 0.9239 GB, free: 2.289 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.562, allocations: 64.72 kB / 0.924 GB, free: 2.223 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.5621, allocations: 0 / 0.924 GB, free: 2.223 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002077/0.5623, allocations: 104.6 kB / 0.9241 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.5623, allocations: 7.984 kB / 0.9241 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.5623, allocations: 0 / 0.9241 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.5623, allocations: 0 / 0.9241 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.5624, allocations: 27.94 kB / 0.9241 GB, free: 2.082 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.5625, allocations: 4 kB / 0.9241 GB, free: 2.078 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.876e-05/0.5625, allocations: 3.984 kB / 0.9241 GB, free: 2.074 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.5625, allocations: 8 kB / 0.9241 GB, free: 2.066 MB / 0.6856 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.032e-05/0.5626, allocations: 116.2 kB / 0.9242 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.343e-05/0.5627, allocations: 11.91 kB / 0.9242 GB, free: 1.934 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/0.5629, allocations: 129.4 kB / 0.9244 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.5629, allocations: 0 / 0.9244 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5629, allocations: 0 / 0.9244 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.61e-05/0.563, allocations: 89 kB / 0.9244 GB, free: 1.691 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.563, allocations: 4 kB / 0.9245 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.5632, allocations: 15.98 kB / 0.9245 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.5632, allocations: 11.92 kB / 0.9245 GB, free: 1.66 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002747/0.5635, allocations: 189.1 kB / 0.9247 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003248/0.5638, allocations: 310.6 kB / 0.925 GB, free: 1.148 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.419e-05/0.5639, allocations: 32.03 kB / 0.925 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 2.811e-05/0.5639, allocations: 79.28 kB / 0.9251 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of Backend: time 3.8e-07/0.5639, allocations: 0 / 0.9251 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003497/0.5675, allocations: 390.3 kB / 0.9254 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of SimCode: time 0.0006324/0.5681, allocations: 0.7723 MB / 0.9262 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of Templates: time 0.0322/0.6003, allocations: 24.69 MB / 0.9503 GB, free: 7.141 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.makefile (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)