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.001105/0.001105, allocations: 108 kB / 15.6 MB, free: 132 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.00121/0.00121, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.343/1.343, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.713/1.713, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.002155/0.002155, allocations: 70.69 kB / 0.6715 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2447, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002688/0.2474, allocations: 1.64 MB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5122/0.7596, allocations: 151.6 MB / 0.933 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.7598, allocations: 2.625 kB / 0.933 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.7599, allocations: 15.28 kB / 0.933 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.7602, allocations: 44.28 kB / 0.933 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.7606, allocations: 150.9 kB / 0.9332 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.7608, allocations: 118.1 kB / 0.9333 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.7609, allocations: 32.73 kB / 0.9333 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.7621, allocations: 161.5 kB / 0.9335 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.7622, allocations: 44.95 kB / 0.9335 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.7622, allocations: 8.969 kB / 0.9335 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004805/0.7627, allocations: 181.9 kB / 0.9337 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.22e-05/0.7628, allocations: 20.78 kB / 0.9337 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.088e-05/0.7628, allocations: 48.91 kB / 0.9338 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.7632, allocations: 189.7 kB / 0.9339 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7632, allocations: 0 / 0.9339 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7632, allocations: 6.625 kB / 0.9339 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.7633, allocations: 0 / 0.9339 GB, free: 2.586 MB / 0.7169 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.0007264/0.764, allocations: 443.8 kB / 0.9344 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.764, allocations: 10.5 kB / 0.9344 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009647/0.765, allocations: 77.39 kB / 0.9345 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.7652, allocations: 214.8 kB / 0.9347 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.7653, allocations: 7.906 kB / 0.9347 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.7653, allocations: 5.25 kB / 0.9347 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004064/0.7657, allocations: 138 kB / 0.9348 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.7657, allocations: 0 / 0.9348 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.7657, allocations: 0 / 0.9348 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.7657, allocations: 6.562 kB / 0.9348 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005023/0.7663, allocations: 140.5 kB / 0.9349 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006902/0.767, allocations: 404.4 kB / 0.9353 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006896/0.7677, allocations: 258.8 kB / 0.9356 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.7679, allocations: 77.11 kB / 0.9356 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.7679, allocations: 1.75 kB / 0.9356 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.768, allocations: 33.22 kB / 0.9357 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.944e-06/0.768, allocations: 0 / 0.9357 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.000789/0.7688, allocations: 221.1 kB / 0.9359 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.7688, allocations: 51.41 kB / 0.9359 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.7689, allocations: 153.8 kB / 0.9361 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.769, allocations: 25.7 kB / 0.9361 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.769, allocations: 100.4 kB / 0.9362 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.7691, allocations: 28.28 kB / 0.9362 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.7691, allocations: 32.05 kB / 0.9363 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.7692, allocations: 322.9 kB / 0.9366 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.7695, allocations: 63.64 kB / 0.9366 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.7697, allocations: 73.8 kB / 0.9367 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003953/0.7701, allocations: 118.2 kB / 0.9368 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.7701, allocations: 1.094 kB / 0.9368 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004577/0.7706, allocations: 162.4 kB / 0.937 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.7706, allocations: 10.31 kB / 0.937 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.7706, allocations: 0 / 0.937 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.7706, allocations: 0 / 0.937 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.7708, allocations: 33.64 kB / 0.937 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.7708, allocations: 0 / 0.937 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.771, allocations: 20.64 kB / 0.937 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.771, allocations: 4.688 kB / 0.937 GB, free: 16.69 MB / 0.7325 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 8.745e-05/0.7711, allocations: 123.5 kB / 0.9372 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.7711, allocations: 12.89 kB / 0.9372 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/0.7712, allocations: 19.92 kB / 0.9372 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.7712, allocations: 2.109 kB / 0.9372 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7712, allocations: 0.75 kB / 0.9372 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.7712, allocations: 0 / 0.9372 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007718/0.772, allocations: 466 kB / 0.9376 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.772, allocations: 0 / 0.9376 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.7722, allocations: 27.52 kB / 0.9377 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.7722, allocations: 0 / 0.9377 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.7722, allocations: 6.75 kB / 0.9377 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7722, allocations: 1.203 kB / 0.9377 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7722, allocations: 3.938 kB / 0.9377 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005027/0.7727, allocations: 254.4 kB / 0.9379 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.7728, allocations: 87.8 kB / 0.938 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.7728, allocations: 12.84 kB / 0.938 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.773, allocations: 11.64 kB / 0.938 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.773, allocations: 16.55 kB / 0.938 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.7731, allocations: 4.094 kB / 0.938 GB, free: 16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.133e-05/0.7731, allocations: 116.8 kB / 0.9382 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7731, allocations: 0 / 0.9382 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000274/0.7734, allocations: 33.97 kB / 0.9382 GB, free: 15.91 MB / 0.7325 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.0001591/0.7736, allocations: 112.6 kB / 0.9383 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004951/0.7741, allocations: 131.2 kB / 0.9384 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7741, allocations: 4 kB / 0.9384 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.7743, allocations: 67.39 kB / 0.9385 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.7747, allocations: 26.28 kB / 0.9385 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.7752, allocations: 233.3 kB / 0.9387 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.7755, allocations: 0.7095 MB / 0.9394 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001434/0.7756, allocations: 25.8 kB / 0.9395 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.7757, allocations: 17.62 kB / 0.9395 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.7757, allocations: 4 kB / 0.9395 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of Templates: time 0.004493/0.7802, allocations: 1.936 MB / 0.9414 GB, free: 14.82 MB / 0.7325 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)