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.00656/0.00656, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.001112/0.001112, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002021/0.002021, allocations: 289.2 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.9114/0.9114, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 95.84 kB / 0.6814 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4401, allocations: 86.97 MB / 0.7663 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002295/0.4424, allocations: 1.264 MB / 0.7676 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1414/0.5838, allocations: 137.7 MB / 0.9021 GB, free: 8.305 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.5839, allocations: 0 / 0.9021 GB, free: 8.305 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 2.012e-05/0.5839, allocations: 3.938 kB / 0.9021 GB, free: 8.301 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.506e-05/0.584, allocations: 0 / 0.9021 GB, free: 8.301 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.5854, allocations: 477.9 kB / 0.9025 GB, free: 7.836 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 7.663e-05/0.5855, allocations: 39.8 kB / 0.9026 GB, free: 7.797 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.608e-05/0.5855, allocations: 7.984 kB / 0.9026 GB, free: 7.789 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.639e-05/0.5855, allocations: 23.97 kB / 0.9026 GB, free: 7.766 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 7.391e-05/0.5856, allocations: 15.92 kB / 0.9026 GB, free: 7.75 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.5856, allocations: 7.938 kB / 0.9026 GB, free: 7.742 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.5873, allocations: 0.827 MB / 0.9034 GB, free: 6.914 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.5873, allocations: 11.97 kB / 0.9034 GB, free: 6.902 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.5873, allocations: 15.94 kB / 0.9035 GB, free: 6.887 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0006898/0.588, allocations: 451.2 kB / 0.9039 GB, free: 6.445 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5881, allocations: 0 / 0.9039 GB, free: 6.445 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5881, allocations: 0 / 0.9039 GB, free: 6.445 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.5881, allocations: 0 / 0.9039 GB, free: 6.445 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.0005411/0.5886, allocations: 369.9 kB / 0.9042 GB, free: 6.039 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.5887, allocations: 16.02 kB / 0.9043 GB, free: 6.023 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.5889, allocations: 8.938 kB / 0.9043 GB, free: 6.016 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.589, allocations: 160.4 kB / 0.9044 GB, free: 5.82 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.589, allocations: 16.36 kB / 0.9044 GB, free: 5.805 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.5891, allocations: 8.062 kB / 0.9044 GB, free: 5.797 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.5892, allocations: 57.67 kB / 0.9045 GB, free: 5.734 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.5892, allocations: 0 / 0.9045 GB, free: 5.734 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.5893, allocations: 0 / 0.9045 GB, free: 5.734 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.5893, allocations: 0 / 0.9045 GB, free: 5.734 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.913e-05/0.5894, allocations: 23.97 kB / 0.9045 GB, free: 5.711 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.5896, allocations: 165.6 kB / 0.9047 GB, free: 5.5 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.5897, allocations: 54.5 kB / 0.9047 GB, free: 5.438 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.366e-05/0.5898, allocations: 24.78 kB / 0.9047 GB, free: 5.41 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01015/0.5999, allocations: 3.202 MB / 0.9079 GB, free: 2.113 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.6, allocations: 38.56 kB / 0.9079 GB, free: 2.066 MB / 0.67 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.6, allocations: 0 / 0.9079 GB, free: 2.066 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.03875/0.6387, allocations: 15 MB / 0.9226 GB, free: 2.918 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.6388, allocations: 55.41 kB / 0.9226 GB, free: 2.852 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.847e-05/0.6389, allocations: 93.8 kB / 0.9227 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.6389, allocations: 29.7 kB / 0.9227 GB, free: 2.715 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 2.783e-05/0.639, allocations: 80.14 kB / 0.9228 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.639, allocations: 43.48 kB / 0.9228 GB, free: 2.59 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.6391, allocations: 33.7 kB / 0.9229 GB, free: 2.551 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6392, allocations: 318.8 kB / 0.9232 GB, free: 2.23 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.579e-05/0.6392, allocations: 27.98 kB / 0.9232 GB, free: 2.203 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.353e-05/0.6393, allocations: 27.92 kB / 0.9232 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.6394, allocations: 60.86 kB / 0.9233 GB, free: 2.113 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.6394, allocations: 0 / 0.9233 GB, free: 2.113 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002181/0.6397, allocations: 97.67 kB / 0.9234 GB, free: 2.012 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.6397, allocations: 4 kB / 0.9234 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.6397, allocations: 4 kB / 0.9234 GB, free: 2.004 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.6397, allocations: 0 / 0.9234 GB, free: 2.004 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.6398, allocations: 31.92 kB / 0.9234 GB, free: 1.973 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.6398, allocations: 4 kB / 0.9234 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.685e-05/0.6399, allocations: 0 / 0.9234 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.6399, allocations: 8 kB / 0.9234 GB, free: 1.961 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.534e-05/0.64, allocations: 116.2 kB / 0.9235 GB, free: 1.84 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.64, allocations: 7.906 kB / 0.9236 GB, free: 1.832 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.6403, allocations: 133.4 kB / 0.9237 GB, free: 1.691 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.6403, allocations: 0 / 0.9237 GB, free: 1.691 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6403, allocations: 0 / 0.9237 GB, free: 1.691 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.6404, allocations: 3.984 kB / 0.9237 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.6405, allocations: 177.6 kB / 0.9239 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.6405, allocations: 0 / 0.9239 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.6406, allocations: 24 kB / 0.9239 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.6406, allocations: 8 kB / 0.9239 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.6407, allocations: 3.984 kB / 0.9239 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.6407, allocations: 0 / 0.9239 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6407, allocations: 0 / 0.9239 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.641, allocations: 162.6 kB / 0.924 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.871e-05/0.641, allocations: 89.12 kB / 0.9241 GB, free: 1.148 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.6411, allocations: 8 kB / 0.9241 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.6412, allocations: 16 kB / 0.9242 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.6412, allocations: 11.98 kB / 0.9242 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.6413, allocations: 4 kB / 0.9242 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 3.548e-05/0.6413, allocations: 75.28 kB / 0.9242 GB, free: 1.035 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6413, allocations: 0 / 0.9242 GB, free: 1.035 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001662/0.643, allocations: 0.5663 MB / 0.9248 GB, free: 480 kB / 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.003102/0.6461, allocations: 359.2 kB / 0.9251 GB, free: 112 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001668/0.6463, allocations: 71.91 kB / 0.9252 GB, free: 40 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.6463, allocations: 0 / 0.9252 GB, free: 40 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 5.598e-05/0.6464, allocations: 39.86 kB / 0.9252 GB, free: 0 / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.6466, allocations: 18.91 kB / 0.9253 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005737/0.6471, allocations: 341.5 kB / 0.9256 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.6474, allocations: 0.6846 MB / 0.9263 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 7.538e-05/0.6475, allocations: 20.59 kB / 0.9263 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.6475, allocations: 15.44 kB / 0.9263 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of SimCode: time 2.1e-07/0.6475, allocations: 0 / 0.9263 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of Templates: time 0.03358/0.6811, allocations: 24.31 MB / 0.95 GB, free: 6.562 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)