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.00147/0.00147, allocations: 100.3 kB / 16.27 MB, free: 5.961 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.00146/0.00146, allocations: 188.1 kB / 17.19 MB, free: 5.594 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.334/1.334, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002462/0.002463, allocations: 289.8 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.137/1.137, allocations: 178.5 MB / 0.5079 GB, free: 12.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002638/0.002638, allocations: 96.12 kB / 0.6071 GB, free: 9.316 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1721, allocations: 89.13 MB / 0.6941 GB, free: 104 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002983/0.1752, allocations: 1.646 MB / 0.6958 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.4198/0.595, allocations: 151.5 MB / 0.8437 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.5952, allocations: 5.094 kB / 0.8438 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.5954, allocations: 20.34 kB / 0.8438 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.5956, allocations: 38.84 kB / 0.8438 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.596, allocations: 149.1 kB / 0.844 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.5962, allocations: 116.6 kB / 0.8441 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.5963, allocations: 39.14 kB / 0.8441 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.5975, allocations: 161.4 kB / 0.8443 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.506e-05/0.5976, allocations: 46.14 kB / 0.8443 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.5976, allocations: 7.281 kB / 0.8443 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003768/0.598, allocations: 182.2 kB / 0.8445 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.228e-05/0.5981, allocations: 23.86 kB / 0.8445 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.155e-05/0.5981, allocations: 45.02 kB / 0.8445 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.5985, allocations: 186.4 kB / 0.8447 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.5985, allocations: 0 / 0.8447 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5985, allocations: 0.6562 kB / 0.8447 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.5985, allocations: 0 / 0.8447 GB, free: 9.504 MB / 0.6075 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.0006256/0.5991, allocations: 443.9 kB / 0.8451 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.5992, allocations: 10.16 kB / 0.8452 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008796/0.6001, allocations: 91.92 kB / 0.8452 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.6003, allocations: 207.7 kB / 0.8454 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.6003, allocations: 7.156 kB / 0.8454 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.6003, allocations: 9.562 kB / 0.8455 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004143/0.6008, allocations: 138.3 kB / 0.8456 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.6008, allocations: 0 / 0.8456 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.6008, allocations: 5.094 kB / 0.8456 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.6008, allocations: 5.062 kB / 0.8456 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005401/0.6014, allocations: 135.6 kB / 0.8457 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007833/0.6021, allocations: 410.6 kB / 0.8461 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007199/0.6029, allocations: 245.7 kB / 0.8464 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.6031, allocations: 78.81 kB / 0.8464 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.6032, allocations: 5.984 kB / 0.8464 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.6032, allocations: 36.09 kB / 0.8465 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.6032, allocations: 0 / 0.8465 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0007718/0.604, allocations: 219 kB / 0.8467 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.604, allocations: 53.94 kB / 0.8467 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.6042, allocations: 143.7 kB / 0.8469 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.6042, allocations: 30.61 kB / 0.8469 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.486e-05/0.6043, allocations: 100.5 kB / 0.847 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.6043, allocations: 28.73 kB / 0.847 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/0.6044, allocations: 28.58 kB / 0.847 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.6045, allocations: 328.2 kB / 0.8474 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.6048, allocations: 59.58 kB / 0.8474 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.605, allocations: 78 kB / 0.8475 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.6054, allocations: 122.3 kB / 0.8476 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6054, allocations: 0 / 0.8476 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004885/0.6059, allocations: 155.4 kB / 0.8478 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.606, allocations: 7.531 kB / 0.8478 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.606, allocations: 1.125 kB / 0.8478 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.606, allocations: 0 / 0.8478 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.6062, allocations: 31.59 kB / 0.8478 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.6062, allocations: 2.109 kB / 0.8478 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.6064, allocations: 25.86 kB / 0.8478 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.6064, allocations: 4.094 kB / 0.8478 GB, free: 7.285 MB / 0.6075 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.0001026/0.6065, allocations: 119.7 kB / 0.8479 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.6065, allocations: 13.08 kB / 0.848 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.614e-05/0.6066, allocations: 17.36 kB / 0.848 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.6066, allocations: 1.781 kB / 0.848 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.6066, allocations: 7.938 kB / 0.848 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.6066, allocations: 1.734 kB / 0.848 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008408/0.6075, allocations: 460.9 kB / 0.8484 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.6075, allocations: 5.094 kB / 0.8484 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.6077, allocations: 32.34 kB / 0.8485 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.6077, allocations: 0 / 0.8485 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.6077, allocations: 1.219 kB / 0.8485 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.6077, allocations: 1.281 kB / 0.8485 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.6077, allocations: 3.938 kB / 0.8485 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005206/0.6082, allocations: 265.5 kB / 0.8487 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/0.6083, allocations: 83.36 kB / 0.8488 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.6083, allocations: 1.312 kB / 0.8488 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.6085, allocations: 14.83 kB / 0.8488 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.6086, allocations: 13.59 kB / 0.8488 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.6086, allocations: 6.656 kB / 0.8488 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.82e-05/0.6087, allocations: 115.1 kB / 0.8489 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6087, allocations: 0 / 0.8489 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002738/0.6089, allocations: 29.84 kB / 0.849 GB, free: 6.398 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.0001756/0.6091, allocations: 117.7 kB / 0.8491 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005035/0.6096, allocations: 131.9 kB / 0.8492 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6096, allocations: 0 / 0.8492 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002241/0.6099, allocations: 67.47 kB / 0.8493 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.6102, allocations: 31.56 kB / 0.8493 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/0.6108, allocations: 262.5 kB / 0.8495 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.6111, allocations: 0.6995 MB / 0.8502 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.598e-05/0.6112, allocations: 21.12 kB / 0.8503 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.6112, allocations: 0 / 0.8503 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of Templates: time 0.003305/0.6145, allocations: 1.725 MB / 0.8519 GB, free: 4.988 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)