Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001086/0.001087, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.73/1.73, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005183/0.0005184, allocations: 17.28 kB / 0.6735 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2725, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001711/0.2742, allocations: 1.187 MB / 0.7883 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.1424/0.4166, allocations: 112 MB / 0.8976 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.624e-05/0.4168, allocations: 0 / 0.8976 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.834e-05/0.4168, allocations: 0 / 0.8976 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.278e-05/0.4169, allocations: 19.91 kB / 0.8976 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.4173, allocations: 59.78 kB / 0.8977 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.906e-05/0.4174, allocations: 31.95 kB / 0.8977 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.036e-05/0.4175, allocations: 7.984 kB / 0.8977 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.179e-05/0.4175, allocations: 19.92 kB / 0.8978 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.88e-05/0.4176, allocations: 19.92 kB / 0.8978 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.4176, allocations: 4 kB / 0.8978 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-05/0.4177, allocations: 19.92 kB / 0.8978 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.4177, allocations: 4 kB / 0.8978 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.4178, allocations: 41.62 kB / 0.8978 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.553e-05/0.4179, allocations: 44.03 kB / 0.8979 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.4179, allocations: 0 / 0.8979 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.655e-06/0.4179, allocations: 0 / 0.8979 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.4179, allocations: 0 / 0.8979 GB, free: 10.25 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005453/0.4185, allocations: 375.2 kB / 0.8982 GB, free: 9.832 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.4185, allocations: 12.03 kB / 0.8983 GB, free: 9.82 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.4186, allocations: 3.906 kB / 0.8983 GB, free: 9.816 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.4187, allocations: 171 kB / 0.8984 GB, free: 9.609 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.4188, allocations: 0 / 0.8984 GB, free: 9.609 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.4188, allocations: 11.94 kB / 0.8984 GB, free: 9.598 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.4191, allocations: 85.64 kB / 0.8985 GB, free: 9.508 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.4191, allocations: 0 / 0.8985 GB, free: 9.508 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4191, allocations: 0 / 0.8985 GB, free: 9.508 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.4191, allocations: 4 kB / 0.8985 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003134/0.4195, allocations: 91.86 kB / 0.8986 GB, free: 9.414 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.4199, allocations: 284.8 kB / 0.8989 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.4202, allocations: 66.48 kB / 0.8989 GB, free: 9.012 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001576/0.4203, allocations: 89.27 kB / 0.899 GB, free: 8.906 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.4204, allocations: 38.56 kB / 0.8991 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.4204, allocations: 4 kB / 0.8991 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005813/0.421, allocations: 165.5 kB / 0.8992 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.421, allocations: 59.3 kB / 0.8993 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.4212, allocations: 117.8 kB / 0.8994 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.4212, allocations: 25.7 kB / 0.8994 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.4212, allocations: 100.1 kB / 0.8995 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.4213, allocations: 7.844 kB / 0.8995 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.4213, allocations: 0 / 0.8995 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.4215, allocations: 322.8 kB / 0.8998 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.4216, allocations: 43.97 kB / 0.8999 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.4218, allocations: 39.97 kB / 0.8999 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.4219, allocations: 44.23 kB / 0.9 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4219, allocations: 0 / 0.9 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003442/0.4223, allocations: 125.5 kB / 0.9001 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.4223, allocations: 8 kB / 0.9001 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4223, allocations: 0 / 0.9001 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.4223, allocations: 3.938 kB / 0.9001 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.4225, allocations: 27.91 kB / 0.9001 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4225, allocations: 0 / 0.9001 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.307e-05/0.4226, allocations: 23.94 kB / 0.9001 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.4226, allocations: 0 / 0.9001 GB, free: 7.711 MB / 0.7169 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.797e-05/0.4227, allocations: 113.8 kB / 0.9002 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.4227, allocations: 3.906 kB / 0.9002 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.4231, allocations: 129.5 kB / 0.9004 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.4231, allocations: 0 / 0.9004 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4231, allocations: 4 kB / 0.9004 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4231, allocations: 0 / 0.9004 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.4234, allocations: 177.6 kB / 0.9005 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4235, allocations: 3.938 kB / 0.9005 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.941e-05/0.4236, allocations: 23.92 kB / 0.9006 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.4236, allocations: 0 / 0.9006 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.4236, allocations: 3.984 kB / 0.9006 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4236, allocations: 0 / 0.9006 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4236, allocations: 0 / 0.9006 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.424, allocations: 219.4 kB / 0.9008 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-05/0.4241, allocations: 85.02 kB / 0.9009 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.4241, allocations: 0 / 0.9009 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.4242, allocations: 19.97 kB / 0.9009 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.4243, allocations: 0 / 0.9009 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.4243, allocations: 4 kB / 0.9009 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.775e-05/0.4244, allocations: 99.27 kB / 0.901 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4244, allocations: 0 / 0.901 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002313/0.4246, allocations: 12 kB / 0.901 GB, free: 6.723 MB / 0.7169 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001858/0.4248, allocations: 110.1 kB / 0.9011 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003624/0.4252, allocations: 95.86 kB / 0.9012 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4252, allocations: 0 / 0.9012 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.4253, allocations: 51.95 kB / 0.9012 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.4256, allocations: 11.95 kB / 0.9012 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.426, allocations: 176.5 kB / 0.9014 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.4262, allocations: 0.6887 MB / 0.9021 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.678e-05/0.4263, allocations: 3.984 kB / 0.9021 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.4263, allocations: 11.44 kB / 0.9021 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of SimCode: time 4.91e-07/0.4263, allocations: 0 / 0.9021 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of Templates: time 0.004367/0.4307, allocations: 0.8209 MB / 0.9029 GB, free: 4.711 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: