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.007391/0.007391, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001539/0.001539, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.301/1.301, allocations: 222.9 MB / 240.4 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.002059/0.002059, allocations: 285 kB / 290.8 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9506/0.9506, allocations: 169.2 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 91.86 kB / 0.6814 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4139, allocations: 86.98 MB / 0.7664 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002137/0.4161, allocations: 1.268 MB / 0.7676 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1427/0.5589, allocations: 132 MB / 0.8966 GB, free: 14.1 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.5589, allocations: 0 / 0.8966 GB, free: 14.1 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 2.104e-05/0.5591, allocations: 3.938 kB / 0.8966 GB, free: 14.09 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 6.239e-05/0.5591, allocations: 11.86 kB / 0.8966 GB, free: 14.08 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.5595, allocations: 67.23 kB / 0.8966 GB, free: 14.02 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.276e-05/0.5596, allocations: 15.94 kB / 0.8967 GB, free: 14 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.5597, allocations: 0 / 0.8967 GB, free: 14 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.879e-05/0.5597, allocations: 23.86 kB / 0.8967 GB, free: 13.98 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 5.695e-05/0.5598, allocations: 4 kB / 0.8967 GB, free: 13.98 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.5598, allocations: 0 / 0.8967 GB, free: 13.98 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 7.702e-05/0.5599, allocations: 15.98 kB / 0.8967 GB, free: 13.96 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.5599, allocations: 7.922 kB / 0.8967 GB, free: 13.95 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.265e-05/0.5599, allocations: 8 kB / 0.8967 GB, free: 13.95 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.56, allocations: 23.91 kB / 0.8967 GB, free: 13.92 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.5601, allocations: 4 kB / 0.8967 GB, free: 13.92 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5601, allocations: 0 / 0.8967 GB, free: 13.92 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.5601, allocations: 0 / 0.8967 GB, free: 13.92 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.0004089/0.5605, allocations: 334.2 kB / 0.8971 GB, free: 13.54 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.5606, allocations: 12.03 kB / 0.8971 GB, free: 13.53 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.5606, allocations: 0.9375 kB / 0.8971 GB, free: 13.53 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.5607, allocations: 164.4 kB / 0.8972 GB, free: 13.33 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.512e-05/0.5608, allocations: 30.27 kB / 0.8973 GB, free: 13.3 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.5608, allocations: 8.375 kB / 0.8973 GB, free: 13.29 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.561, allocations: 46.19 kB / 0.8973 GB, free: 13.24 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.561, allocations: 3.938 kB / 0.8973 GB, free: 13.23 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.561, allocations: 3.984 kB / 0.8973 GB, free: 13.23 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.561, allocations: 0 / 0.8973 GB, free: 13.23 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.145e-05/0.5611, allocations: 12 kB / 0.8973 GB, free: 13.22 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.5613, allocations: 153.7 kB / 0.8975 GB, free: 13.02 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.5614, allocations: 34.61 kB / 0.8975 GB, free: 12.98 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.5615, allocations: 12.86 kB / 0.8975 GB, free: 12.96 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/0.5616, allocations: 89.19 kB / 0.8976 GB, free: 12.86 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.5617, allocations: 34.5 kB / 0.8976 GB, free: 12.81 MB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5617, allocations: 0 / 0.8976 GB, free: 12.81 MB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.0002385/0.5619, allocations: 61.61 kB / 0.8977 GB, free: 12.75 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.562, allocations: 59.41 kB / 0.8978 GB, free: 12.68 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.056e-05/0.5621, allocations: 93.84 kB / 0.8978 GB, free: 12.57 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.5621, allocations: 29.7 kB / 0.8979 GB, free: 12.54 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.5621, allocations: 80.14 kB / 0.8979 GB, free: 12.46 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.5622, allocations: 23.67 kB / 0.898 GB, free: 12.43 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.5622, allocations: 13.72 kB / 0.898 GB, free: 12.41 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.5624, allocations: 310.8 kB / 0.8983 GB, free: 12.1 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.797e-05/0.5624, allocations: 15.98 kB / 0.8983 GB, free: 12.09 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.518e-05/0.5624, allocations: 7.938 kB / 0.8983 GB, free: 12.08 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.659e-05/0.5625, allocations: 28.78 kB / 0.8983 GB, free: 12.05 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5626, allocations: 0 / 0.8983 GB, free: 12.05 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001128/0.5627, allocations: 46.16 kB / 0.8984 GB, free: 12 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.5627, allocations: 11.94 kB / 0.8984 GB, free: 11.98 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.5627, allocations: 3.984 kB / 0.8984 GB, free: 11.98 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.5627, allocations: 0 / 0.8984 GB, free: 11.98 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.583e-05/0.5628, allocations: 8 kB / 0.8984 GB, free: 11.97 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.5628, allocations: 0 / 0.8984 GB, free: 11.97 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.218e-05/0.5629, allocations: 4.047 kB / 0.8984 GB, free: 11.97 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/0.5629, allocations: 3.984 kB / 0.8984 GB, free: 11.96 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.94e-05/0.563, allocations: 113.8 kB / 0.8985 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.563, allocations: 7.938 kB / 0.8985 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.5632, allocations: 53.17 kB / 0.8986 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5632, allocations: 0 / 0.8986 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5632, allocations: 4 kB / 0.8986 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5632, allocations: 0 / 0.8986 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.5633, allocations: 153.7 kB / 0.8987 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.5633, allocations: 0 / 0.8987 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.5634, allocations: 11.98 kB / 0.8987 GB, free: 11.56 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.5634, allocations: 3.938 kB / 0.8987 GB, free: 11.56 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.5634, allocations: 0 / 0.8987 GB, free: 11.56 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5634, allocations: 0 / 0.8987 GB, free: 11.56 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.5634, allocations: 0 / 0.8987 GB, free: 11.56 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.5636, allocations: 84.97 kB / 0.8988 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 7.067e-05/0.5637, allocations: 81.09 kB / 0.8989 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.5637, allocations: 7.938 kB / 0.8989 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.773e-05/0.5637, allocations: 4 kB / 0.8989 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.5638, allocations: 0 / 0.8989 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.5638, allocations: 4 kB / 0.8989 GB, free: 11.34 MB / 0.67 GB Notification: Performance of sorting global known variables: time 4.125e-05/0.5638, allocations: 83.27 kB / 0.899 GB, free: 11.26 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.914e-06/0.5638, allocations: 0 / 0.899 GB, free: 11.26 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0001887/0.564, allocations: 15.94 kB / 0.899 GB, free: 11.25 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.0001789/0.5642, allocations: 115.2 kB / 0.8991 GB, free: 11.12 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001554/0.5644, allocations: 27.92 kB / 0.8991 GB, free: 11.09 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5644, allocations: 0 / 0.8991 GB, free: 11.09 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 4.336e-05/0.5644, allocations: 8 kB / 0.8991 GB, free: 11.09 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.5646, allocations: 7.984 kB / 0.8992 GB, free: 11.08 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.565, allocations: 115.9 kB / 0.8993 GB, free: 10.94 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.5652, allocations: 0.6768 MB / 0.8999 GB, free: 10.23 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 3.493e-05/0.5653, allocations: 7.938 kB / 0.8999 GB, free: 10.23 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.93e-05/0.5653, allocations: 15.38 kB / 0.8999 GB, free: 10.21 MB / 0.67 GB Notification: Performance of SimCode: time 2.41e-07/0.5653, allocations: 4 kB / 0.9 GB, free: 10.21 MB / 0.67 GB Notification: Performance of Templates: time 0.00275/0.5681, allocations: 0.5171 MB / 0.9005 GB, free: 9.699 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)