Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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 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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006448/0.006449, allocations: 105.2 kB / 15.74 MB, free: 6.02 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.001635/0.001635, allocations: 188 kB / 16.67 MB, free: 5.941 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001993/0.001993, allocations: 291.9 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9061/0.9061, allocations: 169.2 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 91.86 kB / 0.6815 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4054, allocations: 86.97 MB / 0.7664 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001987/0.4074, allocations: 1.276 MB / 0.7676 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1898/0.5973, allocations: 132 MB / 0.8966 GB, free: 13.96 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.731e-05/0.5974, allocations: 0 / 0.8966 GB, free: 13.96 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 2.753e-05/0.5975, allocations: 3.938 kB / 0.8966 GB, free: 13.95 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.59e-05/0.5975, allocations: 0 / 0.8966 GB, free: 13.95 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.598, allocations: 67.31 kB / 0.8966 GB, free: 13.89 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.565e-05/0.5981, allocations: 19.92 kB / 0.8967 GB, free: 13.87 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/0.5981, allocations: 0 / 0.8967 GB, free: 13.87 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.998e-05/0.5982, allocations: 15.83 kB / 0.8967 GB, free: 13.86 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.325e-05/0.5983, allocations: 11.92 kB / 0.8967 GB, free: 13.85 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.5983, allocations: 0 / 0.8967 GB, free: 13.85 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-05/0.5984, allocations: 19.98 kB / 0.8967 GB, free: 13.83 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.5984, allocations: 3.938 kB / 0.8967 GB, free: 13.82 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.5984, allocations: 4 kB / 0.8967 GB, free: 13.82 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.5986, allocations: 27.91 kB / 0.8967 GB, free: 13.79 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.5986, allocations: 0 / 0.8967 GB, free: 13.79 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5986, allocations: 3.938 kB / 0.8967 GB, free: 13.79 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.5986, allocations: 0 / 0.8967 GB, free: 13.79 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004141/0.599, allocations: 337.4 kB / 0.8971 GB, free: 13.41 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.5991, allocations: 12.03 kB / 0.8971 GB, free: 13.4 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.5991, allocations: 4.938 kB / 0.8971 GB, free: 13.4 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.5993, allocations: 172.4 kB / 0.8972 GB, free: 13.19 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.78e-05/0.5994, allocations: 26.27 kB / 0.8973 GB, free: 13.16 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.5994, allocations: 384 / 0.8973 GB, free: 13.16 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.5996, allocations: 46.19 kB / 0.8973 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.5996, allocations: 3.938 kB / 0.8973 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.5996, allocations: 0 / 0.8973 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.5996, allocations: 0 / 0.8973 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.5997, allocations: 11.98 kB / 0.8973 GB, free: 13.09 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.5999, allocations: 161.7 kB / 0.8975 GB, free: 12.89 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.6001, allocations: 26.67 kB / 0.8975 GB, free: 12.85 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.168e-05/0.6001, allocations: 20.84 kB / 0.8975 GB, free: 12.83 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001828/0.6003, allocations: 89.09 kB / 0.8976 GB, free: 12.72 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.6004, allocations: 38.5 kB / 0.8976 GB, free: 12.68 MB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.6004, allocations: 0 / 0.8976 GB, free: 12.68 MB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.0002925/0.6007, allocations: 61.61 kB / 0.8977 GB, free: 12.61 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.6007, allocations: 51.41 kB / 0.8978 GB, free: 12.55 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.499e-05/0.6008, allocations: 97.86 kB / 0.8978 GB, free: 12.44 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.6009, allocations: 25.7 kB / 0.8979 GB, free: 12.41 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.6009, allocations: 84.08 kB / 0.8979 GB, free: 12.32 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.6009, allocations: 11.94 kB / 0.898 GB, free: 12.31 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.601, allocations: 17.72 kB / 0.898 GB, free: 12.29 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.6011, allocations: 310.8 kB / 0.8983 GB, free: 11.98 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.819e-05/0.6012, allocations: 8 kB / 0.8983 GB, free: 11.97 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.584e-05/0.6013, allocations: 7.984 kB / 0.8983 GB, free: 11.96 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.6014, allocations: 28.78 kB / 0.8983 GB, free: 11.93 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6014, allocations: 0 / 0.8983 GB, free: 11.93 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001859/0.6016, allocations: 54.16 kB / 0.8984 GB, free: 11.87 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.6016, allocations: 11.94 kB / 0.8984 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.6017, allocations: 4 kB / 0.8984 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.6017, allocations: 0 / 0.8984 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.196e-05/0.6018, allocations: 7.984 kB / 0.8984 GB, free: 11.85 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.6018, allocations: 0 / 0.8984 GB, free: 11.85 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.112e-05/0.6018, allocations: 7.938 kB / 0.8984 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.6019, allocations: 0 / 0.8984 GB, free: 11.84 MB / 0.67 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.67e-05/0.6019, allocations: 108.2 kB / 0.8985 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.602, allocations: 7.938 kB / 0.8985 GB, free: 11.72 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001963/0.6022, allocations: 69.09 kB / 0.8986 GB, free: 11.64 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.6022, allocations: 3.938 kB / 0.8986 GB, free: 11.64 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.6022, allocations: 0 / 0.8986 GB, free: 11.64 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.6022, allocations: 4 kB / 0.8986 GB, free: 11.64 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.6023, allocations: 153.7 kB / 0.8987 GB, free: 11.44 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.6023, allocations: 0 / 0.8987 GB, free: 11.44 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.481e-05/0.6024, allocations: 4 kB / 0.8987 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.6024, allocations: 3.938 kB / 0.8987 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.6024, allocations: 0 / 0.8987 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.6025, allocations: 4 kB / 0.8987 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6025, allocations: 3.984 kB / 0.8987 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.6027, allocations: 73.06 kB / 0.8988 GB, free: 11.33 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 6.73e-05/0.6027, allocations: 89.06 kB / 0.8989 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.6028, allocations: 7.922 kB / 0.8989 GB, free: 11.22 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.336e-05/0.6028, allocations: 0 / 0.8989 GB, free: 11.22 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.6029, allocations: 4 kB / 0.8989 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.6029, allocations: 4 kB / 0.8989 GB, free: 11.21 MB / 0.67 GB Notification: Performance of sorting global known variables: time 4.649e-05/0.6029, allocations: 75.28 kB / 0.899 GB, free: 11.14 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.603, allocations: 3.938 kB / 0.899 GB, free: 11.13 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003385/0.6033, allocations: 12 kB / 0.899 GB, free: 11.12 MB / 0.67 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 (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.000167/0.6035, allocations: 115.2 kB / 0.8991 GB, free: 11 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.000184/0.6037, allocations: 23.91 kB / 0.8991 GB, free: 10.97 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6037, allocations: 0 / 0.8991 GB, free: 10.97 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 7.888e-05/0.6038, allocations: 16 kB / 0.8991 GB, free: 10.96 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.6041, allocations: 16.67 kB / 0.8992 GB, free: 10.94 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.6044, allocations: 118.1 kB / 0.8993 GB, free: 10.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.6047, allocations: 0.6729 MB / 0.8999 GB, free: 10.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 5.095e-05/0.6048, allocations: 11.98 kB / 0.8999 GB, free: 10.09 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.6048, allocations: 7.438 kB / 0.9 GB, free: 10.08 MB / 0.67 GB Notification: Performance of SimCode: time 3.51e-07/0.6048, allocations: 4 kB / 0.9 GB, free: 10.08 MB / 0.67 GB Notification: Performance of Templates: time 0.003205/0.608, allocations: 0.525 MB / 0.9005 GB, free: 9.559 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)