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.001059/0.001059, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.294/1.294, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 283 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.931/0.931, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 98 kB / 0.5952 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.165, allocations: 86.98 MB / 0.6802 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002587/0.1677, allocations: 1.639 MB / 0.6818 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4564/0.6241, allocations: 151.5 MB / 0.8298 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.6243, allocations: 5.062 kB / 0.8298 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.6244, allocations: 14.48 kB / 0.8298 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.6247, allocations: 44.47 kB / 0.8298 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004881/0.6252, allocations: 146.7 kB / 0.83 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.6254, allocations: 127.6 kB / 0.8301 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.6255, allocations: 25.56 kB / 0.8301 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.6266, allocations: 173.7 kB / 0.8303 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.534e-05/0.6267, allocations: 43.23 kB / 0.8303 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.6267, allocations: 10.69 kB / 0.8303 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004181/0.6272, allocations: 186.6 kB / 0.8305 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.833e-05/0.6272, allocations: 19.38 kB / 0.8305 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.383e-05/0.6273, allocations: 43.72 kB / 0.8306 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.6276, allocations: 189.9 kB / 0.8307 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.6276, allocations: 0 / 0.8307 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.71e-07/0.6276, allocations: 0 / 0.8307 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.6276, allocations: 5.25 kB / 0.8308 GB, free: 0.7773 MB / 0.5606 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.0005863/0.6282, allocations: 443.4 kB / 0.8312 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.6283, allocations: 9.906 kB / 0.8312 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009023/0.6292, allocations: 88.27 kB / 0.8313 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.6294, allocations: 198.6 kB / 0.8315 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.6294, allocations: 7.312 kB / 0.8315 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.6294, allocations: 7.391 kB / 0.8315 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.6298, allocations: 140.8 kB / 0.8316 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.6299, allocations: 0 / 0.8316 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.6299, allocations: 4.781 kB / 0.8316 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.6299, allocations: 7.844 kB / 0.8316 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005359/0.6304, allocations: 133.6 kB / 0.8317 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006996/0.6311, allocations: 416.1 kB / 0.8321 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006845/0.6318, allocations: 251.5 kB / 0.8324 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.6321, allocations: 72.28 kB / 0.8325 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.6321, allocations: 5.766 kB / 0.8325 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.6322, allocations: 34.78 kB / 0.8325 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 2.014e-06/0.6322, allocations: 0 / 0.8325 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0007727/0.633, allocations: 211.3 kB / 0.8327 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.633, allocations: 52.88 kB / 0.8327 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.6331, allocations: 156.6 kB / 0.8329 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.6331, allocations: 25.7 kB / 0.8329 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.718e-05/0.6332, allocations: 104.8 kB / 0.833 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.6332, allocations: 27.06 kB / 0.833 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.6333, allocations: 23.44 kB / 0.8331 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.697e-05/0.6334, allocations: 326.9 kB / 0.8334 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.6336, allocations: 53.19 kB / 0.8334 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.6338, allocations: 79.44 kB / 0.8335 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004376/0.6343, allocations: 125.3 kB / 0.8336 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6343, allocations: 5.094 kB / 0.8336 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004812/0.6348, allocations: 159.4 kB / 0.8338 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.6348, allocations: 5.594 kB / 0.8338 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6348, allocations: 5.734 kB / 0.8338 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.6348, allocations: 1.062 kB / 0.8338 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.635, allocations: 27.66 kB / 0.8338 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.635, allocations: 1.469 kB / 0.8338 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.6352, allocations: 20.95 kB / 0.8338 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.6352, allocations: 8.828 kB / 0.8338 GB, free: 14.88 MB / 0.5762 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.444e-05/0.6353, allocations: 126.5 kB / 0.834 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.6353, allocations: 9.062 kB / 0.834 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.919e-05/0.6354, allocations: 15.86 kB / 0.834 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.6354, allocations: 2.094 kB / 0.834 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.6354, allocations: 0 / 0.834 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.6354, allocations: 2.625 kB / 0.834 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007775/0.6362, allocations: 466.7 kB / 0.8344 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6362, allocations: 0 / 0.8344 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.6364, allocations: 29.38 kB / 0.8345 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6364, allocations: 1.281 kB / 0.8345 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.6364, allocations: 6.25 kB / 0.8345 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.6365, allocations: 1.469 kB / 0.8345 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.6365, allocations: 3.938 kB / 0.8345 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005199/0.637, allocations: 261.9 kB / 0.8347 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.236e-05/0.637, allocations: 85.77 kB / 0.8348 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.6371, allocations: 1.156 kB / 0.8348 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.6373, allocations: 17.09 kB / 0.8348 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.6373, allocations: 9.469 kB / 0.8348 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.6373, allocations: 3.109 kB / 0.8348 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.756e-05/0.6374, allocations: 113.8 kB / 0.8349 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6374, allocations: 0 / 0.8349 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002914/0.6377, allocations: 34.91 kB / 0.835 GB, free: 14.11 MB / 0.5762 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.0001644/0.6379, allocations: 120.2 kB / 0.8351 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004926/0.6384, allocations: 126.8 kB / 0.8352 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6384, allocations: 4 kB / 0.8352 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.6386, allocations: 71.97 kB / 0.8353 GB, free: 14 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.639, allocations: 40.42 kB / 0.8353 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005186/0.6395, allocations: 233.9 kB / 0.8356 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.6398, allocations: 0.7029 MB / 0.8362 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001423/0.6399, allocations: 27.31 kB / 0.8363 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.805e-05/0.64, allocations: 15.41 kB / 0.8363 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.64, allocations: 5.312 kB / 0.8363 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of Templates: time 0.004542/0.6445, allocations: 1.939 MB / 0.8382 GB, free: 12.95 MB / 0.5762 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)