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.005427/0.005427, allocations: 104.7 kB / 15.74 MB, free: 6.055 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.001266/0.001266, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002103/0.002103, allocations: 299.8 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.941/0.941, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 91.86 kB / 0.6814 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.4286, allocations: 86.98 MB / 0.7664 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.001959/0.4306, allocations: 1.26 MB / 0.7676 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1372/0.5678, allocations: 137.7 MB / 0.9021 GB, free: 8.363 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.968e-05/0.5679, allocations: 0 / 0.9021 GB, free: 8.363 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 2.018e-05/0.568, allocations: 3.938 kB / 0.9021 GB, free: 8.359 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.017e-05/0.568, allocations: 3.984 kB / 0.9021 GB, free: 8.355 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.5695, allocations: 473.9 kB / 0.9025 GB, free: 7.895 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.5696, allocations: 47.78 kB / 0.9026 GB, free: 7.848 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.5697, allocations: 4 kB / 0.9026 GB, free: 7.844 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 6.573e-05/0.5698, allocations: 23.97 kB / 0.9026 GB, free: 7.82 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 8.612e-05/0.5699, allocations: 15.92 kB / 0.9026 GB, free: 7.805 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.5699, allocations: 4 kB / 0.9026 GB, free: 7.801 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/0.5716, allocations: 0.827 MB / 0.9034 GB, free: 6.973 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.5716, allocations: 11.97 kB / 0.9034 GB, free: 6.961 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.612e-05/0.5717, allocations: 15.94 kB / 0.9035 GB, free: 6.945 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0008204/0.5725, allocations: 443.2 kB / 0.9039 GB, free: 6.512 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.5725, allocations: 3.984 kB / 0.9039 GB, free: 6.508 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5725, allocations: 0 / 0.9039 GB, free: 6.508 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.5725, allocations: 0 / 0.9039 GB, free: 6.508 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.0005565/0.5731, allocations: 377.9 kB / 0.9042 GB, free: 6.094 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.5731, allocations: 8.031 kB / 0.9043 GB, free: 6.086 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.5733, allocations: 12.92 kB / 0.9043 GB, free: 6.074 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.5735, allocations: 164.3 kB / 0.9044 GB, free: 5.875 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.5735, allocations: 8.375 kB / 0.9044 GB, free: 5.867 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.5735, allocations: 8.109 kB / 0.9044 GB, free: 5.859 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.5737, allocations: 53.69 kB / 0.9045 GB, free: 5.801 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.5737, allocations: 0 / 0.9045 GB, free: 5.801 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.5737, allocations: 3.984 kB / 0.9045 GB, free: 5.797 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.5737, allocations: 4 kB / 0.9045 GB, free: 5.793 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.637e-05/0.5738, allocations: 19.98 kB / 0.9045 GB, free: 5.773 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.574, allocations: 169.6 kB / 0.9047 GB, free: 5.559 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.5741, allocations: 50.5 kB / 0.9047 GB, free: 5.5 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.091e-05/0.5741, allocations: 24.78 kB / 0.9047 GB, free: 5.473 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01147/0.5856, allocations: 3.198 MB / 0.9079 GB, free: 2.18 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/0.5857, allocations: 50.48 kB / 0.9079 GB, free: 2.121 MB / 0.67 GB Notification: Performance of pre-optimization done (n=7): time 1.724e-06/0.5857, allocations: 0 / 0.9079 GB, free: 2.121 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.04382/0.6295, allocations: 14.99 MB / 0.9226 GB, free: 2.98 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.6296, allocations: 59.41 kB / 0.9226 GB, free: 2.91 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.539e-05/0.6297, allocations: 93.8 kB / 0.9227 GB, free: 2.809 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.6297, allocations: 29.7 kB / 0.9227 GB, free: 2.773 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 2.734e-05/0.6298, allocations: 84.08 kB / 0.9228 GB, free: 2.688 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.986e-05/0.6298, allocations: 43.36 kB / 0.9229 GB, free: 2.645 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.6299, allocations: 29.7 kB / 0.9229 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.63, allocations: 318.8 kB / 0.9232 GB, free: 2.289 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.831e-05/0.6301, allocations: 31.92 kB / 0.9232 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.539e-05/0.6301, allocations: 28.11 kB / 0.9232 GB, free: 2.23 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.6303, allocations: 63.98 kB / 0.9233 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.6303, allocations: 0 / 0.9233 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002157/0.6305, allocations: 97.67 kB / 0.9234 GB, free: 2.066 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.6305, allocations: 4 kB / 0.9234 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.6305, allocations: 0 / 0.9234 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.6305, allocations: 4 kB / 0.9234 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.6307, allocations: 27.92 kB / 0.9234 GB, free: 2.031 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.6307, allocations: 4 kB / 0.9234 GB, free: 2.027 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.632e-05/0.6307, allocations: 0 / 0.9234 GB, free: 2.027 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.6307, allocations: 12 kB / 0.9234 GB, free: 2.016 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.479e-05/0.6308, allocations: 116.2 kB / 0.9236 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.6309, allocations: 11.89 kB / 0.9236 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.6311, allocations: 125.4 kB / 0.9237 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.6312, allocations: 0 / 0.9237 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6312, allocations: 7.984 kB / 0.9237 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.6312, allocations: 4 kB / 0.9237 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.6313, allocations: 177.6 kB / 0.9239 GB, free: 1.516 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.6313, allocations: 4 kB / 0.9239 GB, free: 1.512 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.6315, allocations: 23.98 kB / 0.9239 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6315, allocations: 4 kB / 0.9239 GB, free: 1.484 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.6315, allocations: 0 / 0.9239 GB, free: 1.484 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.6315, allocations: 0 / 0.9239 GB, free: 1.484 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6315, allocations: 0 / 0.9239 GB, free: 1.484 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.6318, allocations: 169 kB / 0.9241 GB, free: 1.301 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.6319, allocations: 85.09 kB / 0.9241 GB, free: 1.199 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.6319, allocations: 8 kB / 0.9241 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.632, allocations: 11.98 kB / 0.9242 GB, free: 1.18 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.6321, allocations: 4 kB / 0.9242 GB, free: 1.176 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.6321, allocations: 11.94 kB / 0.9242 GB, free: 1.164 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 3.216e-05/0.6321, allocations: 83.27 kB / 0.9243 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6321, allocations: 0 / 0.9243 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001797/0.6339, allocations: 0.5663 MB / 0.9248 GB, free: 0.5156 MB / 0.6856 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.003643/0.6376, allocations: 351.1 kB / 0.9251 GB, free: 168 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0002095/0.6378, allocations: 67.91 kB / 0.9252 GB, free: 100 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.6378, allocations: 0 / 0.9252 GB, free: 100 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 6.451e-05/0.6379, allocations: 39.86 kB / 0.9252 GB, free: 60 kB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.6381, allocations: 10.44 kB / 0.9253 GB, free: 52 kB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005833/0.6387, allocations: 353.8 kB / 0.9256 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.639, allocations: 0.6885 MB / 0.9263 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 8.903e-05/0.6391, allocations: 24.55 kB / 0.9263 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.6391, allocations: 15.44 kB / 0.9263 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of SimCode: time 4.31e-07/0.6391, allocations: 0 / 0.9263 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of Templates: time 0.03598/0.6751, allocations: 24.27 MB / 0.95 GB, free: 6.641 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)