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.001263/0.001263, allocations: 107.3 kB / 16.41 MB, free: 6.477 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.001243/0.001243, allocations: 183 kB / 17.34 MB, free: 5.754 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002193/0.002193, allocations: 293.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9154/0.9154, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 92.28 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4147, allocations: 86.97 MB / 0.767 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002438/0.4172, allocations: 1.284 MB / 0.7683 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1306/0.5479, allocations: 132 MB / 0.8972 GB, free: 14.12 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.5479, allocations: 0 / 0.8972 GB, free: 14.12 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 2.188e-05/0.548, allocations: 0 / 0.8972 GB, free: 14.12 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.067e-05/0.5481, allocations: 3.938 kB / 0.8972 GB, free: 14.12 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003802/0.5484, allocations: 63.11 kB / 0.8973 GB, free: 14.06 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.952e-05/0.5485, allocations: 27.86 kB / 0.8973 GB, free: 14.04 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.051e-05/0.5486, allocations: 4 kB / 0.8973 GB, free: 14.03 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 5.002e-05/0.5486, allocations: 15.92 kB / 0.8973 GB, free: 14.02 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.052e-05/0.5487, allocations: 8 kB / 0.8973 GB, free: 14.01 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.5487, allocations: 0 / 0.8973 GB, free: 14.01 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 8.144e-05/0.5488, allocations: 15.98 kB / 0.8974 GB, free: 13.99 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.5488, allocations: 0 / 0.8974 GB, free: 13.99 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.5489, allocations: 7.938 kB / 0.8974 GB, free: 13.98 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.549, allocations: 27.91 kB / 0.8974 GB, free: 13.96 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.549, allocations: 0 / 0.8974 GB, free: 13.96 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.603e-06/0.549, allocations: 0 / 0.8974 GB, free: 13.96 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.549, allocations: 8 kB / 0.8974 GB, free: 13.95 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.0004465/0.5495, allocations: 334.1 kB / 0.8977 GB, free: 13.57 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.5495, allocations: 15.97 kB / 0.8977 GB, free: 13.56 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.5496, allocations: 0.9375 kB / 0.8977 GB, free: 13.56 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.5497, allocations: 168.3 kB / 0.8979 GB, free: 13.36 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.456e-05/0.5498, allocations: 26.27 kB / 0.8979 GB, free: 13.32 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.5498, allocations: 4.375 kB / 0.8979 GB, free: 13.32 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.5499, allocations: 38.25 kB / 0.898 GB, free: 13.28 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.55, allocations: 7.938 kB / 0.898 GB, free: 13.27 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.55, allocations: 0 / 0.898 GB, free: 13.27 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.55, allocations: 0 / 0.898 GB, free: 13.27 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.099e-05/0.5501, allocations: 11.98 kB / 0.898 GB, free: 13.26 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.5502, allocations: 153.7 kB / 0.8981 GB, free: 13.06 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 9.533e-05/0.5504, allocations: 34.55 kB / 0.8982 GB, free: 13.02 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.863e-05/0.5504, allocations: 16.86 kB / 0.8982 GB, free: 13 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/0.5506, allocations: 93.19 kB / 0.8983 GB, free: 12.89 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.5506, allocations: 34.56 kB / 0.8983 GB, free: 12.84 MB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.5506, allocations: 0 / 0.8983 GB, free: 12.84 MB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.0002424/0.5509, allocations: 65.78 kB / 0.8984 GB, free: 12.77 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.5509, allocations: 55.34 kB / 0.8984 GB, free: 12.71 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.44e-05/0.551, allocations: 101.9 kB / 0.8985 GB, free: 12.6 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.551, allocations: 29.69 kB / 0.8985 GB, free: 12.56 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.5511, allocations: 80.14 kB / 0.8986 GB, free: 12.48 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.5511, allocations: 11.75 kB / 0.8986 GB, free: 12.47 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.479e-05/0.5511, allocations: 17.72 kB / 0.8986 GB, free: 12.45 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.5513, allocations: 314.8 kB / 0.8989 GB, free: 12.13 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.665e-05/0.5513, allocations: 7.984 kB / 0.899 GB, free: 12.12 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.685e-05/0.5514, allocations: 8 kB / 0.899 GB, free: 12.11 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.875e-05/0.5514, allocations: 28.84 kB / 0.899 GB, free: 12.08 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5515, allocations: 0 / 0.899 GB, free: 12.08 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001303/0.5516, allocations: 49.69 kB / 0.899 GB, free: 12.03 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.5516, allocations: 7.938 kB / 0.899 GB, free: 12.02 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5516, allocations: 3.938 kB / 0.899 GB, free: 12.02 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.5516, allocations: 0 / 0.899 GB, free: 12.02 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.842e-05/0.5517, allocations: 7.984 kB / 0.8991 GB, free: 12.01 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.5517, allocations: 0 / 0.8991 GB, free: 12.01 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.855e-05/0.5518, allocations: 4 kB / 0.8991 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.5518, allocations: 4 kB / 0.8991 GB, free: 12 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.485e-05/0.5519, allocations: 112.2 kB / 0.8992 GB, free: 11.88 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.5519, allocations: 3.938 kB / 0.8992 GB, free: 11.88 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.552, allocations: 57.17 kB / 0.8992 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.5521, allocations: 0 / 0.8992 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.5521, allocations: 4 kB / 0.8992 GB, free: 11.81 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5521, allocations: 0 / 0.8992 GB, free: 11.81 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.5522, allocations: 157.6 kB / 0.8994 GB, free: 11.61 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.5522, allocations: 4 kB / 0.8994 GB, free: 11.61 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.152e-05/0.5523, allocations: 11.92 kB / 0.8994 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.5523, allocations: 3.938 kB / 0.8994 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.5523, allocations: 0 / 0.8994 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5523, allocations: 0 / 0.8994 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5523, allocations: 0 / 0.8994 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.5524, allocations: 73.03 kB / 0.8995 GB, free: 11.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.5525, allocations: 89.09 kB / 0.8996 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.5525, allocations: 7.938 kB / 0.8996 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.683e-05/0.5526, allocations: 0 / 0.8996 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.5526, allocations: 4 kB / 0.8996 GB, free: 11.38 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.5526, allocations: 432 / 0.8996 GB, free: 11.38 MB / 0.67 GB Notification: Performance of sorting global known variables: time 4.67e-05/0.5527, allocations: 83.25 kB / 0.8996 GB, free: 11.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5527, allocations: 0 / 0.8996 GB, free: 11.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0001924/0.5529, allocations: 12 kB / 0.8997 GB, free: 11.29 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.0001735/0.553, allocations: 131 kB / 0.8998 GB, free: 11.15 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001366/0.5532, allocations: 15.98 kB / 0.8998 GB, free: 11.13 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5532, allocations: 0 / 0.8998 GB, free: 11.13 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 4.56e-05/0.5533, allocations: 12 kB / 0.8998 GB, free: 11.12 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.5535, allocations: 14.73 kB / 0.8998 GB, free: 11.11 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.5538, allocations: 149.5 kB / 0.9 GB, free: 10.93 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.5541, allocations: 0.6807 MB / 0.9006 GB, free: 10.22 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/0.5541, allocations: 7.438 kB / 0.9006 GB, free: 10.21 MB / 0.67 GB Notification: Performance of SimCode: time 2.1e-07/0.5541, allocations: 0 / 0.9006 GB, free: 10.21 MB / 0.67 GB Notification: Performance of Templates: time 0.001938/0.5561, allocations: 0.5643 MB / 0.9012 GB, free: 9.652 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)