Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 192 kB / 16.53 MB, free: 6.664 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.809/2.809, allocations: 472.6 MB / 0.7451 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 70.25 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3166, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002957/0.3196, allocations: 1.487 MB / 1.07 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1375/0.4571, allocations: 132.1 MB / 1.199 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.4572, allocations: 0 / 1.199 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.649e-05/0.4573, allocations: 3.938 kB / 1.199 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.416e-05/0.4574, allocations: 11.88 kB / 1.199 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.4578, allocations: 67.7 kB / 1.199 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.138e-05/0.4579, allocations: 67.61 kB / 1.199 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.994e-05/0.458, allocations: 12.22 kB / 1.199 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.097e-05/0.4581, allocations: 19.92 kB / 1.199 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.061e-05/0.4581, allocations: 27.91 kB / 1.199 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.4582, allocations: 4 kB / 1.199 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.133e-05/0.4583, allocations: 16 kB / 1.199 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.4583, allocations: 11.92 kB / 1.199 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.4583, allocations: 19.94 kB / 1.199 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.4585, allocations: 63.8 kB / 1.199 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4585, allocations: 0 / 1.199 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4585, allocations: 0 / 1.199 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.4585, allocations: 0 / 1.199 GB, free: 4.074 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005002/0.459, allocations: 367.3 kB / 1.199 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.4591, allocations: 8.031 kB / 1.199 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.4591, allocations: 4.938 kB / 1.199 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.4592, allocations: 180.2 kB / 1.199 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.4592, allocations: 4.375 kB / 1.199 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.4593, allocations: 8.312 kB / 1.199 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.4595, allocations: 74.2 kB / 1.2 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.4595, allocations: 192 / 1.2 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.4595, allocations: 3.938 kB / 1.2 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.4596, allocations: 3.984 kB / 1.2 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000313/0.4599, allocations: 75.92 kB / 1.2 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.4602, allocations: 284.7 kB / 1.2 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.4604, allocations: 54.64 kB / 1.2 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.4606, allocations: 44.81 kB / 1.2 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.4608, allocations: 89.09 kB / 1.2 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.4608, allocations: 30.56 kB / 1.2 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.4608, allocations: 0 / 1.2 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005533/0.4614, allocations: 133.5 kB / 1.2 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.4614, allocations: 59.34 kB / 1.2 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.692e-05/0.4615, allocations: 121.7 kB / 1.2 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.4615, allocations: 25.7 kB / 1.2 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/0.4616, allocations: 99.98 kB / 1.2 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.4616, allocations: 7.891 kB / 1.201 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.4616, allocations: 17.72 kB / 1.201 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.4617, allocations: 318.8 kB / 1.201 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.4619, allocations: 35.95 kB / 1.201 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.4621, allocations: 27.97 kB / 1.201 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.4623, allocations: 76.72 kB / 1.201 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.4624, allocations: 0 / 1.201 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003514/0.4627, allocations: 93.62 kB / 1.201 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4627, allocations: 4 kB / 1.201 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.4627, allocations: 0 / 1.201 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.4628, allocations: 8 kB / 1.201 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.4629, allocations: 15.97 kB / 1.201 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.4629, allocations: 0 / 1.201 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.219e-05/0.463, allocations: 15.89 kB / 1.201 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.463, allocations: 0 / 1.201 GB, free: 1.582 MB / 0.9512 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.158e-05/0.4631, allocations: 117.8 kB / 1.201 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.4631, allocations: 4 kB / 1.201 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003706/0.4635, allocations: 113.4 kB / 1.201 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4635, allocations: 4 kB / 1.201 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.4635, allocations: 0 / 1.201 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.4635, allocations: 0 / 1.201 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.4637, allocations: 173.6 kB / 1.201 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4637, allocations: 0 / 1.201 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.853e-05/0.4638, allocations: 19.97 kB / 1.202 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.4638, allocations: 8 kB / 1.202 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.4638, allocations: 3.938 kB / 1.202 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4638, allocations: 0 / 1.202 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4638, allocations: 384 / 1.202 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/0.4642, allocations: 207.2 kB / 1.202 GB, free: 0.8555 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.4643, allocations: 85.05 kB / 1.202 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.4643, allocations: 3.984 kB / 1.202 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.4644, allocations: 11.98 kB / 1.202 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.4644, allocations: 4 kB / 1.202 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.4644, allocations: 0 / 1.202 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.601e-05/0.4645, allocations: 95.27 kB / 1.202 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4645, allocations: 0 / 1.202 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002353/0.4648, allocations: 19.84 kB / 1.202 GB, free: 0.6211 MB / 0.9512 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.0001391/0.4649, allocations: 111.8 kB / 1.202 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003608/0.4653, allocations: 63.92 kB / 1.202 GB, free: 452 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4653, allocations: 4 kB / 1.202 GB, free: 448 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.4654, allocations: 39.89 kB / 1.202 GB, free: 408 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.4657, allocations: 18.34 kB / 1.202 GB, free: 392 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.4661, allocations: 159.8 kB / 1.202 GB, free: 204 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.4664, allocations: 0.6807 MB / 1.203 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.494e-05/0.4664, allocations: 12.23 kB / 1.203 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.4664, allocations: 11.44 kB / 1.203 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.4664, allocations: 0 / 1.203 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of Templates: time 0.003063/0.4695, allocations: 0.9884 MB / 1.204 GB, free: 14.49 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)