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.001256/0.001256, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001265/0.001265, allocations: 190.1 kB / 16.25 MB, free: 6.625 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.337/1.337, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002093/0.002093, allocations: 298.7 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9757/0.9757, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 89.58 kB / 0.5947 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1598, allocations: 86.99 MB / 0.6796 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002444/0.1623, allocations: 1.335 MB / 0.6809 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4171/0.5794, allocations: 130.1 MB / 0.8079 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.999e-05/0.5795, allocations: 0 / 0.8079 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.5796, allocations: 3.938 kB / 0.8079 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.561e-05/0.5796, allocations: 2.812 kB / 0.808 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.5799, allocations: 49.89 kB / 0.808 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.847e-05/0.58, allocations: 25.83 kB / 0.808 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.309e-05/0.58, allocations: 2.25 kB / 0.808 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.375e-05/0.5801, allocations: 12.67 kB / 0.808 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.117e-05/0.5801, allocations: 9.641 kB / 0.808 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.247e-06/0.5801, allocations: 5.875 kB / 0.8081 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.345e-05/0.5802, allocations: 12.89 kB / 0.8081 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.5802, allocations: 2.125 kB / 0.8081 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.714e-05/0.5802, allocations: 5.938 kB / 0.8081 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 6.798e-05/0.5803, allocations: 29.08 kB / 0.8081 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5803, allocations: 6.656 kB / 0.8081 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5803, allocations: 0 / 0.8081 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.5803, allocations: 1.094 kB / 0.8081 GB, free: 1.879 MB / 0.5606 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.0004119/0.5807, allocations: 332.6 kB / 0.8084 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.5808, allocations: 13.66 kB / 0.8084 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.5808, allocations: 2.875 kB / 0.8084 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.5809, allocations: 166.9 kB / 0.8086 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.497e-05/0.581, allocations: 33.39 kB / 0.8086 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.581, allocations: 6.141 kB / 0.8086 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.881e-05/0.5811, allocations: 35.2 kB / 0.8087 GB, free: 17.26 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.5811, allocations: 3.938 kB / 0.8087 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.5811, allocations: 4.281 kB / 0.8087 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-06/0.5811, allocations: 0 / 0.8087 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.443e-05/0.5812, allocations: 20 kB / 0.8087 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.5814, allocations: 151.9 kB / 0.8088 GB, free: 17.06 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.935e-05/0.5815, allocations: 30.98 kB / 0.8089 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.5815, allocations: 15.09 kB / 0.8089 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.5817, allocations: 91.72 kB / 0.809 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.5817, allocations: 34.56 kB / 0.809 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.031e-06/0.5817, allocations: 1.125 kB / 0.809 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0002328/0.582, allocations: 64.59 kB / 0.8091 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.582, allocations: 55.3 kB / 0.8091 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.636e-05/0.5821, allocations: 95 kB / 0.8092 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.5821, allocations: 29.64 kB / 0.8092 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.5822, allocations: 83.52 kB / 0.8093 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.5822, allocations: 15.7 kB / 0.8093 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.5822, allocations: 16.91 kB / 0.8094 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.418e-05/0.5823, allocations: 310.8 kB / 0.8096 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.246e-05/0.5824, allocations: 7.797 kB / 0.8097 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.286e-05/0.5824, allocations: 6.281 kB / 0.8097 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.207e-05/0.5825, allocations: 24.34 kB / 0.8097 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.5825, allocations: 0 / 0.8097 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001093/0.5826, allocations: 58.5 kB / 0.8097 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.5826, allocations: 8.688 kB / 0.8097 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.5826, allocations: 0 / 0.8097 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.5826, allocations: 2.109 kB / 0.8098 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.502e-05/0.5827, allocations: 5.938 kB / 0.8098 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.5827, allocations: 0 / 0.8098 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.86e-05/0.5827, allocations: 8.766 kB / 0.8098 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.5828, allocations: 0 / 0.8098 GB, free: 16.18 MB / 0.5762 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.198e-05/0.5828, allocations: 114.1 kB / 0.8099 GB, free: 16.06 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.338e-06/0.5828, allocations: 7.25 kB / 0.8099 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/0.583, allocations: 59.8 kB / 0.8099 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.583, allocations: 1.203 kB / 0.8099 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.583, allocations: 0 / 0.8099 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.583, allocations: 0 / 0.8099 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.624e-05/0.5831, allocations: 156.5 kB / 0.8101 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5831, allocations: 0 / 0.8101 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.5832, allocations: 6.625 kB / 0.8101 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5832, allocations: 3.938 kB / 0.8101 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.5832, allocations: 7.562 kB / 0.8101 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5832, allocations: 4.297 kB / 0.8101 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5832, allocations: 0 / 0.8101 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.5833, allocations: 69.8 kB / 0.8102 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/0.5834, allocations: 82.08 kB / 0.8103 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.5834, allocations: 8.938 kB / 0.8103 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.707e-05/0.5834, allocations: 48 / 0.8103 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.5834, allocations: 16.88 kB / 0.8103 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.5834, allocations: 1.469 kB / 0.8103 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.227e-05/0.5835, allocations: 76.72 kB / 0.8104 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5835, allocations: 3.781 kB / 0.8104 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001843/0.5837, allocations: 5.781 kB / 0.8104 GB, free: 15.57 MB / 0.5762 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.0001277/0.5838, allocations: 111.2 kB / 0.8105 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.5839, allocations: 23.83 kB / 0.8105 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.584, allocations: 4 kB / 0.8105 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.16e-05/0.584, allocations: 16.45 kB / 0.8105 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.5842, allocations: 9.453 kB / 0.8105 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002068/0.5844, allocations: 132.5 kB / 0.8106 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.5847, allocations: 0.6773 MB / 0.8113 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.723e-05/0.5847, allocations: 8.406 kB / 0.8113 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.427e-05/0.5847, allocations: 7.438 kB / 0.8113 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.5847, allocations: 0 / 0.8113 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of Templates: time 0.002071/0.5868, allocations: 0.4937 MB / 0.8118 GB, free: 14.59 MB / 0.5762 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)