Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.00104/0.00104, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001294/0.001294, allocations: 188.2 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.734/1.734, allocations: 292.2 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 63.75 kB / 0.6708 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2222, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002643/0.2248, allocations: 1.706 MB / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5995/0.8243, allocations: 149.3 MB / 0.9301 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.8245, allocations: 0.9688 kB / 0.9301 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.8248, allocations: 8.062 kB / 0.9301 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.8251, allocations: 41.3 kB / 0.9301 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000572/0.8257, allocations: 125.1 kB / 0.9302 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.8259, allocations: 115.6 kB / 0.9304 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.8261, allocations: 31.59 kB / 0.9304 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001803/0.8279, allocations: 160.5 kB / 0.9305 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.288e-05/0.828, allocations: 41.31 kB / 0.9306 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.828, allocations: 4.281 kB / 0.9306 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000396/0.8284, allocations: 175.5 kB / 0.9308 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.793e-05/0.8285, allocations: 18.64 kB / 0.9308 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.357e-05/0.8286, allocations: 49.3 kB / 0.9308 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.8289, allocations: 190.1 kB / 0.931 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.8289, allocations: 0.5156 kB / 0.931 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.01e-07/0.8289, allocations: 0 / 0.931 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.829, allocations: 0.9688 kB / 0.931 GB, free: 6.273 MB / 0.7325 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.0009053/0.8299, allocations: 444.3 kB / 0.9314 GB, free: 21.88 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.8299, allocations: 9.984 kB / 0.9314 GB, free: 21.88 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.831, allocations: 82.19 kB / 0.9315 GB, free: 21.86 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.8312, allocations: 213.8 kB / 0.9317 GB, free: 21.65 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.8312, allocations: 6.562 kB / 0.9317 GB, free: 21.65 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.8312, allocations: 5.969 kB / 0.9317 GB, free: 21.65 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004789/0.8317, allocations: 139.8 kB / 0.9319 GB, free: 21.62 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.8317, allocations: 0 / 0.9319 GB, free: 21.62 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.8318, allocations: 4.75 kB / 0.9319 GB, free: 21.62 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.8318, allocations: 5.25 kB / 0.9319 GB, free: 21.61 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000558/0.8323, allocations: 135.6 kB / 0.932 GB, free: 21.61 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007861/0.8331, allocations: 408.8 kB / 0.9324 GB, free: 21.33 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007662/0.8339, allocations: 254.2 kB / 0.9326 GB, free: 21.21 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.8342, allocations: 75.78 kB / 0.9327 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.8342, allocations: 0 / 0.9327 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.8343, allocations: 38.86 kB / 0.9327 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.8343, allocations: 0 / 0.9327 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8): time 0.0008164/0.8351, allocations: 215.2 kB / 0.9329 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.8351, allocations: 59.41 kB / 0.933 GB, free: 21.05 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.8353, allocations: 146.4 kB / 0.9331 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.8353, allocations: 32.17 kB / 0.9332 GB, free: 20.92 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 5.403e-05/0.8353, allocations: 97.45 kB / 0.9333 GB, free: 20.84 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/0.8354, allocations: 35.39 kB / 0.9333 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.8354, allocations: 21.67 kB / 0.9333 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.8355, allocations: 328.9 kB / 0.9336 GB, free: 20.48 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.8358, allocations: 61.34 kB / 0.9337 GB, free: 20.48 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.836, allocations: 72.8 kB / 0.9338 GB, free: 20.46 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004026/0.8364, allocations: 123 kB / 0.9339 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.8364, allocations: 1.203 kB / 0.9339 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004687/0.8369, allocations: 159.3 kB / 0.934 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.8369, allocations: 6.297 kB / 0.934 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.8369, allocations: 0 / 0.934 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.8369, allocations: 1.781 kB / 0.934 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.8372, allocations: 32.03 kB / 0.9341 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.8372, allocations: 0.6562 kB / 0.9341 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.8373, allocations: 15.98 kB / 0.9341 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.8374, allocations: 5.312 kB / 0.9341 GB, free: 20.4 MB / 0.7481 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.665e-05/0.8375, allocations: 127.5 kB / 0.9342 GB, free: 20.28 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.8375, allocations: 13.41 kB / 0.9342 GB, free: 20.27 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.41e-05/0.8376, allocations: 18.72 kB / 0.9342 GB, free: 20.27 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.8376, allocations: 0 / 0.9342 GB, free: 20.27 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8376, allocations: 0 / 0.9342 GB, free: 20.27 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.8376, allocations: 3.422 kB / 0.9342 GB, free: 20.27 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000776/0.8384, allocations: 463.4 kB / 0.9347 GB, free: 19.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.8384, allocations: 0 / 0.9347 GB, free: 19.97 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.8386, allocations: 39.14 kB / 0.9347 GB, free: 19.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.8386, allocations: 0 / 0.9347 GB, free: 19.96 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.8386, allocations: 1.547 kB / 0.9347 GB, free: 19.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.8386, allocations: 0 / 0.9347 GB, free: 19.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8386, allocations: 7.656 kB / 0.9347 GB, free: 19.96 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005279/0.8392, allocations: 253.7 kB / 0.935 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.8392, allocations: 92.06 kB / 0.9351 GB, free: 19.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.8392, allocations: 0 / 0.9351 GB, free: 19.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.8394, allocations: 18.47 kB / 0.9351 GB, free: 19.72 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.8395, allocations: 11.39 kB / 0.9351 GB, free: 19.72 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.8395, allocations: 0.7031 kB / 0.9351 GB, free: 19.72 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.439e-05/0.8396, allocations: 120.1 kB / 0.9352 GB, free: 19.64 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8396, allocations: 0 / 0.9352 GB, free: 19.64 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002737/0.8399, allocations: 32.66 kB / 0.9352 GB, free: 19.63 MB / 0.7481 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.0001582/0.84, allocations: 112.1 kB / 0.9353 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004843/0.8405, allocations: 136.3 kB / 0.9355 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8405, allocations: 0 / 0.9355 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.8408, allocations: 65.84 kB / 0.9355 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.8411, allocations: 36.17 kB / 0.9356 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005323/0.8417, allocations: 263.2 kB / 0.9358 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.8419, allocations: 0.6988 MB / 0.9365 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001531/0.8421, allocations: 27.92 kB / 0.9365 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.8421, allocations: 15.17 kB / 0.9366 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.8421, allocations: 0 / 0.9366 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of Templates: time 0.004292/0.8464, allocations: 1.76 MB / 0.9383 GB, free: 18.55 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)