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.001268/0.001268, allocations: 111.4 kB / 16.41 MB, free: 6.492 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.001217/0.001217, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002526/0.002526, allocations: 286.8 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.004/1.004, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002809/0.002809, allocations: 99.84 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.4513, allocations: 86.98 MB / 0.7671 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002212/0.4535, allocations: 1.265 MB / 0.7683 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1575/0.611, allocations: 132.4 MB / 0.8976 GB, free: 13.66 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.611, allocations: 0 / 0.8976 GB, free: 13.66 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.611, allocations: 0 / 0.8976 GB, free: 13.66 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 4.808e-05/0.6111, allocations: 3.938 kB / 0.8976 GB, free: 13.65 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.6114, allocations: 59.39 kB / 0.8977 GB, free: 13.6 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 7.814e-05/0.6115, allocations: 23.86 kB / 0.8977 GB, free: 13.57 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.555e-05/0.6115, allocations: 4 kB / 0.8977 GB, free: 13.57 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.569e-05/0.6115, allocations: 23.8 kB / 0.8977 GB, free: 13.55 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 4.743e-05/0.6116, allocations: 4 kB / 0.8977 GB, free: 13.55 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.6116, allocations: 0 / 0.8977 GB, free: 13.55 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 6.856e-05/0.6117, allocations: 15.98 kB / 0.8977 GB, free: 13.53 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.6117, allocations: 7.875 kB / 0.8977 GB, free: 13.52 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.6117, allocations: 7.938 kB / 0.8977 GB, free: 13.52 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 9.877e-05/0.6118, allocations: 23.92 kB / 0.8978 GB, free: 13.49 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.6118, allocations: 4 kB / 0.8978 GB, free: 13.49 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6118, allocations: 0 / 0.8978 GB, free: 13.49 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.6118, allocations: 0 / 0.8978 GB, free: 13.49 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.0004557/0.6123, allocations: 345.4 kB / 0.8981 GB, free: 13.11 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.6123, allocations: 8.031 kB / 0.8981 GB, free: 13.1 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.6123, allocations: 0.9375 kB / 0.8981 GB, free: 13.1 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.6125, allocations: 168.4 kB / 0.8983 GB, free: 12.89 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.922e-05/0.6125, allocations: 26.27 kB / 0.8983 GB, free: 12.86 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.6125, allocations: 4.375 kB / 0.8983 GB, free: 12.86 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.6127, allocations: 38.25 kB / 0.8983 GB, free: 12.82 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.6127, allocations: 3.938 kB / 0.8983 GB, free: 12.81 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.6127, allocations: 4 kB / 0.8983 GB, free: 12.81 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.6127, allocations: 4 kB / 0.8983 GB, free: 12.8 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.381e-05/0.6128, allocations: 15.92 kB / 0.8984 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.6129, allocations: 157.6 kB / 0.8985 GB, free: 12.59 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 9.59e-05/0.613, allocations: 30.61 kB / 0.8985 GB, free: 12.55 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.105e-05/0.6131, allocations: 16.86 kB / 0.8986 GB, free: 12.53 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.6133, allocations: 93.19 kB / 0.8986 GB, free: 12.42 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.6133, allocations: 30.56 kB / 0.8987 GB, free: 12.38 MB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.6133, allocations: 0 / 0.8987 GB, free: 12.38 MB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.0002326/0.6135, allocations: 61.55 kB / 0.8987 GB, free: 12.31 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.6136, allocations: 55.41 kB / 0.8988 GB, free: 12.25 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.448e-05/0.6136, allocations: 97.8 kB / 0.8989 GB, free: 12.14 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.6137, allocations: 33.7 kB / 0.8989 GB, free: 12.1 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.6137, allocations: 84.12 kB / 0.899 GB, free: 12.02 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.6137, allocations: 3.953 kB / 0.899 GB, free: 12.01 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.6138, allocations: 17.72 kB / 0.899 GB, free: 11.99 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.6139, allocations: 310.8 kB / 0.8993 GB, free: 11.68 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.736e-05/0.6139, allocations: 7.984 kB / 0.8993 GB, free: 11.67 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.873e-05/0.614, allocations: 8.375 kB / 0.8993 GB, free: 11.66 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.327e-05/0.6141, allocations: 32.92 kB / 0.8994 GB, free: 11.62 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.6141, allocations: 0 / 0.8994 GB, free: 11.62 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001297/0.6142, allocations: 53.58 kB / 0.8994 GB, free: 11.57 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.6142, allocations: 14.75 kB / 0.8994 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.6142, allocations: 0 / 0.8994 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.6142, allocations: 0 / 0.8994 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.549e-05/0.6143, allocations: 7.984 kB / 0.8994 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.6143, allocations: 0 / 0.8994 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.519e-05/0.6144, allocations: 7.938 kB / 0.8994 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.6144, allocations: 3.938 kB / 0.8994 GB, free: 11.54 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 9.598e-05/0.6145, allocations: 112.2 kB / 0.8996 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.6145, allocations: 7.938 kB / 0.8996 GB, free: 11.41 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.6146, allocations: 61.11 kB / 0.8996 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.6146, allocations: 0 / 0.8996 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.6146, allocations: 0 / 0.8996 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.6147, allocations: 0 / 0.8996 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.6148, allocations: 153.7 kB / 0.8998 GB, free: 11.14 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6148, allocations: 0 / 0.8998 GB, free: 11.14 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-05/0.6148, allocations: 12 kB / 0.8998 GB, free: 11.13 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.6148, allocations: 7.922 kB / 0.8998 GB, free: 11.12 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.6148, allocations: 0 / 0.8998 GB, free: 11.12 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.6148, allocations: 0 / 0.8998 GB, free: 11.12 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.6148, allocations: 0 / 0.8998 GB, free: 11.12 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.615, allocations: 69.12 kB / 0.8998 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 6.744e-05/0.6151, allocations: 85.05 kB / 0.8999 GB, free: 10.94 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.6151, allocations: 11.88 kB / 0.8999 GB, free: 10.93 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.114e-05/0.6151, allocations: 8 kB / 0.8999 GB, free: 10.92 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.6151, allocations: 4 kB / 0.9 GB, free: 10.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.6151, allocations: 7.938 kB / 0.9 GB, free: 10.91 MB / 0.67 GB Notification: Performance of sorting global known variables: time 4.395e-05/0.6152, allocations: 79.27 kB / 0.9 GB, free: 10.83 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6152, allocations: 0 / 0.9 GB, free: 10.83 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0001963/0.6154, allocations: 8 kB / 0.9 GB, free: 10.82 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.0001688/0.6156, allocations: 111.2 kB / 0.9001 GB, free: 10.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001506/0.6157, allocations: 23.98 kB / 0.9002 GB, free: 10.68 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6157, allocations: 4 kB / 0.9002 GB, free: 10.67 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 5.02e-05/0.6158, allocations: 7.938 kB / 0.9002 GB, free: 10.66 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.616, allocations: 16.73 kB / 0.9002 GB, free: 10.65 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.6163, allocations: 120.2 kB / 0.9003 GB, free: 10.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.6166, allocations: 0.6768 MB / 0.901 GB, free: 9.801 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 3.359e-05/0.6167, allocations: 4 kB / 0.901 GB, free: 9.797 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.1e-05/0.6167, allocations: 11.44 kB / 0.901 GB, free: 9.785 MB / 0.67 GB Notification: Performance of SimCode: time 4.01e-07/0.6167, allocations: 0 / 0.901 GB, free: 9.785 MB / 0.67 GB Notification: Performance of Templates: time 0.003178/0.6199, allocations: 0.5395 MB / 0.9015 GB, free: 9.254 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)