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.004897/0.004897, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.00111/0.00111, allocations: 185.4 kB / 16.67 MB, free: 5.977 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002006/0.002005, allocations: 275 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9373/0.9373, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 95.86 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1647, allocations: 86.97 MB / 0.7664 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002232/0.167, allocations: 1.278 MB / 0.7676 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4596/0.6266, allocations: 132 MB / 0.8966 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.685e-05/0.6267, allocations: 0 / 0.8966 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.606e-05/0.6267, allocations: 0 / 0.8966 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.211e-05/0.6268, allocations: 11.92 kB / 0.8966 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.6272, allocations: 57.03 kB / 0.8966 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.031e-05/0.6273, allocations: 27.84 kB / 0.8967 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.6273, allocations: 4 kB / 0.8967 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.027e-05/0.6274, allocations: 7.828 kB / 0.8967 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.205e-05/0.6274, allocations: 7.984 kB / 0.8967 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.6274, allocations: 4 kB / 0.8967 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.313e-05/0.6275, allocations: 12 kB / 0.8967 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.6275, allocations: 3.984 kB / 0.8967 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.6276, allocations: 11.94 kB / 0.8967 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.6277, allocations: 29.91 kB / 0.8967 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.6277, allocations: 0 / 0.8967 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6277, allocations: 0 / 0.8967 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.6277, allocations: 0 / 0.8967 GB, free: 13.39 MB / 0.6544 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.0003793/0.6281, allocations: 340.5 kB / 0.8971 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.6281, allocations: 12.03 kB / 0.8971 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.6282, allocations: 4.938 kB / 0.8971 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.6283, allocations: 160.4 kB / 0.8972 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-05/0.6284, allocations: 34.25 kB / 0.8973 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.6284, allocations: 5.688 kB / 0.8973 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.6285, allocations: 38.23 kB / 0.8973 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.6285, allocations: 3.938 kB / 0.8973 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.6285, allocations: 0 / 0.8973 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.6285, allocations: 4 kB / 0.8973 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.937e-05/0.6286, allocations: 15.98 kB / 0.8973 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.6288, allocations: 153.7 kB / 0.8975 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.98e-05/0.6289, allocations: 34.52 kB / 0.8975 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.958e-05/0.6289, allocations: 13.44 kB / 0.8975 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.6291, allocations: 89.09 kB / 0.8976 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.6291, allocations: 38.56 kB / 0.8976 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.6291, allocations: 0 / 0.8976 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0002272/0.6294, allocations: 61.56 kB / 0.8977 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.6294, allocations: 51.41 kB / 0.8977 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.45e-05/0.6295, allocations: 101.8 kB / 0.8978 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.6295, allocations: 25.7 kB / 0.8979 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.64e-05/0.6295, allocations: 84.14 kB / 0.8979 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.6296, allocations: 15.75 kB / 0.898 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.6296, allocations: 13.72 kB / 0.898 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.6297, allocations: 318.8 kB / 0.8983 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.35e-05/0.6298, allocations: 8 kB / 0.8983 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.777e-05/0.6298, allocations: 7.984 kB / 0.8983 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.904e-05/0.6299, allocations: 21.61 kB / 0.8983 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6299, allocations: 0 / 0.8983 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001259/0.6301, allocations: 61.61 kB / 0.8984 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.6301, allocations: 7.938 kB / 0.8984 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.6301, allocations: 0 / 0.8984 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.6301, allocations: 0 / 0.8984 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.734e-05/0.6302, allocations: 8 kB / 0.8984 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.6302, allocations: 0 / 0.8984 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.949e-05/0.6302, allocations: 6.797 kB / 0.8984 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.6302, allocations: 0 / 0.8984 GB, free: 11.45 MB / 0.6544 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.772e-05/0.6303, allocations: 114.5 kB / 0.8985 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/0.6303, allocations: 7.938 kB / 0.8985 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.6305, allocations: 57.62 kB / 0.8986 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.6305, allocations: 4 kB / 0.8986 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6305, allocations: 48 / 0.8986 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.6305, allocations: 3.984 kB / 0.8986 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.6306, allocations: 157.6 kB / 0.8987 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6307, allocations: 0 / 0.8987 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-05/0.6307, allocations: 4 kB / 0.8987 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.6307, allocations: 3.938 kB / 0.8987 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.6307, allocations: 4 kB / 0.8987 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.6307, allocations: 4 kB / 0.8987 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6307, allocations: 0 / 0.8987 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.6309, allocations: 73.11 kB / 0.8988 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/0.6309, allocations: 81.11 kB / 0.8989 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.631, allocations: 3.938 kB / 0.8989 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.555e-05/0.631, allocations: 0 / 0.8989 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.631, allocations: 11.98 kB / 0.8989 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.631, allocations: 0 / 0.8989 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.323e-05/0.6311, allocations: 87.22 kB / 0.899 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6311, allocations: 0 / 0.899 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001848/0.6313, allocations: 8 kB / 0.899 GB, free: 10.73 MB / 0.6544 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.0001519/0.6314, allocations: 114.3 kB / 0.8991 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001389/0.6316, allocations: 19.98 kB / 0.8991 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.6316, allocations: 7.938 kB / 0.8991 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.798e-05/0.6316, allocations: 15.92 kB / 0.8991 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.6319, allocations: 11.59 kB / 0.8992 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002908/0.6322, allocations: 121.3 kB / 0.8993 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.6324, allocations: 0.6768 MB / 0.8999 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.69e-05/0.6324, allocations: 9.953 kB / 0.8999 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.6325, allocations: 7.438 kB / 0.8999 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.6325, allocations: 0 / 0.8999 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of Templates: time 0.00247/0.6349, allocations: 0.5319 MB / 0.9005 GB, free: 9.184 MB / 0.6544 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)