Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001014/0.001014, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.262/1.262, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002185/0.002185, allocations: 293.6 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8891/0.8891, allocations: 169.3 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 106 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1471, allocations: 86.97 MB / 0.6816 GB, free: 7.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002477/0.1496, allocations: 1.636 MB / 0.6832 GB, free: 5.832 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3875/0.5371, allocations: 151.6 MB / 0.8312 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.5373, allocations: 0 / 0.8312 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.5375, allocations: 19.8 kB / 0.8312 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.5377, allocations: 40.59 kB / 0.8313 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.5381, allocations: 144.2 kB / 0.8314 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.5383, allocations: 119.6 kB / 0.8315 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.5384, allocations: 41.31 kB / 0.8316 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.5394, allocations: 154.1 kB / 0.8317 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.225e-05/0.5395, allocations: 51.75 kB / 0.8317 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.5395, allocations: 4 kB / 0.8318 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003375/0.5399, allocations: 183.7 kB / 0.8319 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.53e-05/0.5399, allocations: 19.92 kB / 0.8319 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.101e-05/0.54, allocations: 47.73 kB / 0.832 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.5403, allocations: 194.1 kB / 0.8322 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.5403, allocations: 0 / 0.8322 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5403, allocations: 0 / 0.8322 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.5403, allocations: 0 / 0.8322 GB, free: 4.402 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005322/0.5409, allocations: 443.6 kB / 0.8326 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.5409, allocations: 12.03 kB / 0.8326 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008792/0.5418, allocations: 88.02 kB / 0.8327 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.542, allocations: 208.5 kB / 0.8329 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.542, allocations: 4 kB / 0.8329 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.5421, allocations: 12 kB / 0.8329 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.5425, allocations: 136 kB / 0.833 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.5425, allocations: 0 / 0.833 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.5425, allocations: 4 kB / 0.833 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.5425, allocations: 7.938 kB / 0.8331 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004817/0.543, allocations: 135.9 kB / 0.8332 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007251/0.5437, allocations: 420.3 kB / 0.8336 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006788/0.5444, allocations: 251.7 kB / 0.8338 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.5446, allocations: 68.8 kB / 0.8339 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.5447, allocations: 7.984 kB / 0.8339 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.5447, allocations: 38.56 kB / 0.8339 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.5447, allocations: 0 / 0.8339 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0007059/0.5454, allocations: 209.4 kB / 0.8341 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.5455, allocations: 51.41 kB / 0.8342 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.5456, allocations: 153.5 kB / 0.8343 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.5456, allocations: 25.7 kB / 0.8344 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.5457, allocations: 108 kB / 0.8345 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.5457, allocations: 31.72 kB / 0.8345 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.5458, allocations: 25.7 kB / 0.8345 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.5459, allocations: 322.8 kB / 0.8348 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.5461, allocations: 55.95 kB / 0.8349 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.5463, allocations: 78.83 kB / 0.8349 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003779/0.5467, allocations: 124.9 kB / 0.8351 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5467, allocations: 0 / 0.8351 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004439/0.5472, allocations: 165.4 kB / 0.8352 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.5472, allocations: 7.984 kB / 0.8352 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5472, allocations: 0 / 0.8352 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.5472, allocations: 3.938 kB / 0.8352 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.5474, allocations: 27.97 kB / 0.8353 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.5474, allocations: 0 / 0.8353 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.5476, allocations: 15.92 kB / 0.8353 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.5476, allocations: 11.98 kB / 0.8353 GB, free: 0.9688 MB / 0.5919 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 (8): * Single equations (assignments): 8 * 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 9.185e-05/0.5477, allocations: 122.9 kB / 0.8354 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.5477, allocations: 7.906 kB / 0.8354 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.439e-05/0.5478, allocations: 12.72 kB / 0.8354 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5478, allocations: 0 / 0.8354 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5478, allocations: 0 / 0.8354 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5478, allocations: 7.984 kB / 0.8354 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007387/0.5486, allocations: 466.2 kB / 0.8359 GB, free: 308 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.5486, allocations: 0 / 0.8359 GB, free: 308 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.5488, allocations: 31.89 kB / 0.8359 GB, free: 276 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.5488, allocations: 4 kB / 0.8359 GB, free: 272 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.5488, allocations: 4 kB / 0.8359 GB, free: 268 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5488, allocations: 0 / 0.8359 GB, free: 268 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5488, allocations: 3.938 kB / 0.8359 GB, free: 264 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004792/0.5493, allocations: 263.3 kB / 0.8362 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.5493, allocations: 85.02 kB / 0.8363 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.5494, allocations: 0 / 0.8363 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.5495, allocations: 19.92 kB / 0.8363 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.5496, allocations: 7.938 kB / 0.8363 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.5496, allocations: 3.984 kB / 0.8363 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.918e-05/0.5497, allocations: 113.1 kB / 0.8364 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5497, allocations: 7.938 kB / 0.8364 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002643/0.55, allocations: 35.83 kB / 0.8364 GB, free: 15.7 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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.0001579/0.5501, allocations: 111.2 kB / 0.8365 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004749/0.5506, allocations: 127.8 kB / 0.8367 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5506, allocations: 4 kB / 0.8367 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.5508, allocations: 63.94 kB / 0.8367 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.5512, allocations: 36.38 kB / 0.8368 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005413/0.5517, allocations: 227.6 kB / 0.837 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.552, allocations: 0.7001 MB / 0.8377 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001211/0.5521, allocations: 40.31 kB / 0.8377 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.5522, allocations: 19.44 kB / 0.8377 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.5522, allocations: 0 / 0.8377 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of Templates: time 0.004606/0.5568, allocations: 1.936 MB / 0.8396 GB, free: 12.42 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)