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.001152/0.001152, allocations: 107.1 kB / 16.36 MB, free: 6.012 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.001195/0.001195, allocations: 192.5 kB / 17.3 MB, free: 5.617 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.392/1.392, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.794/1.794, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001455/0.001455, allocations: 71.02 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2182, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002746/0.221, allocations: 1.639 MB / 0.7864 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5252/0.7462, allocations: 151.6 MB / 0.9344 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.7464, allocations: 0 / 0.9344 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.7466, allocations: 15.8 kB / 0.9344 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.7469, allocations: 39.7 kB / 0.9344 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004616/0.7473, allocations: 147.4 kB / 0.9346 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.7475, allocations: 119.6 kB / 0.9347 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.7477, allocations: 32.83 kB / 0.9347 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.7488, allocations: 159.9 kB / 0.9349 GB, free: 464 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.44e-05/0.7489, allocations: 43.78 kB / 0.9349 GB, free: 420 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.7489, allocations: 12 kB / 0.9349 GB, free: 408 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004647/0.7494, allocations: 183.7 kB / 0.9351 GB, free: 224 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.79e-05/0.7494, allocations: 19.92 kB / 0.9351 GB, free: 204 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.404e-05/0.7495, allocations: 43.73 kB / 0.9352 GB, free: 160 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.7498, allocations: 203.4 kB / 0.9354 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.7499, allocations: 0 / 0.9354 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7499, allocations: 0.6562 kB / 0.9354 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.7499, allocations: 0 / 0.9354 GB, free: 15.96 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.0006573/0.7505, allocations: 441.7 kB / 0.9358 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.7506, allocations: 8.031 kB / 0.9358 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009747/0.7516, allocations: 83.94 kB / 0.9359 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.7518, allocations: 203.5 kB / 0.9361 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.7518, allocations: 8 kB / 0.9361 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.7519, allocations: 5.5 kB / 0.9361 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004354/0.7523, allocations: 137.5 kB / 0.9362 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.7523, allocations: 0 / 0.9362 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.7524, allocations: 4 kB / 0.9362 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.7524, allocations: 19.91 kB / 0.9362 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005276/0.7529, allocations: 123.9 kB / 0.9364 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008022/0.7537, allocations: 420.3 kB / 0.9368 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007277/0.7545, allocations: 247.7 kB / 0.937 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.7547, allocations: 72.8 kB / 0.9371 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.7548, allocations: 4 kB / 0.9371 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.7548, allocations: 34.56 kB / 0.9371 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.7548, allocations: 0 / 0.9371 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0007989/0.7556, allocations: 227.5 kB / 0.9373 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.7557, allocations: 51.41 kB / 0.9374 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.7558, allocations: 140.5 kB / 0.9375 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.7558, allocations: 33.7 kB / 0.9375 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.7559, allocations: 101 kB / 0.9376 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.7559, allocations: 31.69 kB / 0.9377 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.756, allocations: 21.72 kB / 0.9377 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.7562, allocations: 326.8 kB / 0.938 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.7564, allocations: 56.56 kB / 0.938 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.7566, allocations: 78.52 kB / 0.9381 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004066/0.757, allocations: 116.7 kB / 0.9382 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.757, allocations: 0 / 0.9382 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004917/0.7575, allocations: 159.7 kB / 0.9384 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.7576, allocations: 6 kB / 0.9384 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.7576, allocations: 6.188 kB / 0.9384 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.7576, allocations: 0 / 0.9384 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.7578, allocations: 27.97 kB / 0.9384 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.7578, allocations: 4 kB / 0.9384 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.758, allocations: 27.81 kB / 0.9384 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.758, allocations: 4 kB / 0.9385 GB, free: 12.56 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 0.0001014/0.7581, allocations: 121.7 kB / 0.9386 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.7582, allocations: 7.906 kB / 0.9386 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.197e-05/0.7583, allocations: 20.7 kB / 0.9386 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.7583, allocations: 2.156 kB / 0.9386 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.7583, allocations: 4 kB / 0.9386 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.7583, allocations: 3.938 kB / 0.9386 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008426/0.7591, allocations: 458.4 kB / 0.939 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.7592, allocations: 4 kB / 0.939 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.7594, allocations: 31.91 kB / 0.9391 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.7594, allocations: 0 / 0.9391 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.7594, allocations: 0 / 0.9391 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.7594, allocations: 7.938 kB / 0.9391 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7594, allocations: 2.125 kB / 0.9391 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005311/0.7599, allocations: 263.2 kB / 0.9393 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.76, allocations: 85 kB / 0.9394 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.76, allocations: 4 kB / 0.9394 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.7602, allocations: 15.92 kB / 0.9394 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.7603, allocations: 11.98 kB / 0.9394 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.7603, allocations: 4 kB / 0.9395 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.281e-05/0.7604, allocations: 112.7 kB / 0.9396 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7604, allocations: 0 / 0.9396 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000278/0.7607, allocations: 35.94 kB / 0.9396 GB, free: 11.29 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.0001629/0.7608, allocations: 112.4 kB / 0.9397 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004977/0.7613, allocations: 123.9 kB / 0.9398 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7614, allocations: 0 / 0.9398 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.7616, allocations: 70.38 kB / 0.9399 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.7619, allocations: 37.08 kB / 0.9399 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005781/0.7625, allocations: 235.8 kB / 0.9401 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.7629, allocations: 0.7047 MB / 0.9408 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001337/0.7631, allocations: 26.66 kB / 0.9409 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.295e-05/0.7631, allocations: 19.42 kB / 0.9409 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/0.7631, allocations: 0 / 0.9409 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of Templates: time 0.004741/0.7679, allocations: 1.937 MB / 0.9428 GB, free: 8.062 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)