Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.009/2.009, allocations: 391.2 MB / 407 MB, free: 10.83 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 189.5 kB / 499.1 MB, free: 4.695 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 0.7948 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009877/0.0009877, allocations: 111.7 kB / 0.9329 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0009741/0.0009742, allocations: 50.8 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2213, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002376/0.2237, allocations: 1.334 MB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.09617/0.3199, allocations: 129.9 MB / 1.346 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.141e-05/0.3199, allocations: 0 / 1.346 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.214e-05/0.32, allocations: 0 / 1.346 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.576e-05/0.3201, allocations: 7.938 kB / 1.346 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.3204, allocations: 47.78 kB / 1.346 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.25e-05/0.3204, allocations: 23.92 kB / 1.346 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.369e-05/0.3205, allocations: 11.77 kB / 1.346 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.237e-05/0.3205, allocations: 4 kB / 1.346 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.861e-05/0.3206, allocations: 11.98 kB / 1.346 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.3206, allocations: 0 / 1.346 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.593e-05/0.3207, allocations: 15.98 kB / 1.346 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.3207, allocations: 7.938 kB / 1.346 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.3207, allocations: 4 kB / 1.346 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.883e-05/0.3208, allocations: 26.02 kB / 1.346 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3208, allocations: 8 kB / 1.346 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.01e-07/0.3208, allocations: 0 / 1.346 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.165e-06/0.3208, allocations: 0 / 1.346 GB, free: 1.414 MB / 0.8386 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.0003516/0.3212, allocations: 339.5 kB / 1.347 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.3212, allocations: 11.98 kB / 1.347 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.3213, allocations: 4.938 kB / 1.347 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.448e-05/0.3214, allocations: 168.4 kB / 1.347 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.754e-05/0.3214, allocations: 26.27 kB / 1.347 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.3215, allocations: 4.375 kB / 1.347 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.3216, allocations: 42.19 kB / 1.347 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3216, allocations: 3.938 kB / 1.347 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.3216, allocations: 0 / 1.347 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3216, allocations: 0 / 1.347 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.565e-05/0.3217, allocations: 11.98 kB / 1.347 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.3218, allocations: 157.7 kB / 1.347 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.253e-05/0.3219, allocations: 34.56 kB / 1.347 GB, free: 480 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.653e-05/0.322, allocations: 20.73 kB / 1.347 GB, free: 456 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.3221, allocations: 89.19 kB / 1.347 GB, free: 348 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.3222, allocations: 34.56 kB / 1.347 GB, free: 304 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3222, allocations: 3.938 kB / 1.347 GB, free: 300 kB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002079/0.3224, allocations: 61.61 kB / 1.347 GB, free: 232 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.3224, allocations: 51.41 kB / 1.347 GB, free: 168 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.523e-05/0.3225, allocations: 102 kB / 1.348 GB, free: 56 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.3225, allocations: 25.7 kB / 1.348 GB, free: 24 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.3225, allocations: 80.14 kB / 1.348 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.3226, allocations: 15.73 kB / 1.348 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.3226, allocations: 21.72 kB / 1.348 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.164e-05/0.3227, allocations: 310.8 kB / 1.348 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.306e-05/0.3227, allocations: 7.938 kB / 1.348 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.44e-05/0.3228, allocations: 11.98 kB / 1.348 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.707e-05/0.3229, allocations: 24.84 kB / 1.348 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3229, allocations: 0 / 1.348 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001152/0.323, allocations: 49.69 kB / 1.348 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.323, allocations: 11.94 kB / 1.348 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.323, allocations: 0 / 1.348 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.323, allocations: 0 / 1.348 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.137e-05/0.3231, allocations: 7.984 kB / 1.348 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3231, allocations: 4 kB / 1.348 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.945e-05/0.3231, allocations: 4 kB / 1.348 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.3232, allocations: 3.938 kB / 1.348 GB, free: 15.45 MB / 0.8542 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 5.592e-05/0.3232, allocations: 110.5 kB / 1.348 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.3232, allocations: 7.938 kB / 1.348 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.3234, allocations: 57.17 kB / 1.348 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3234, allocations: 4 kB / 1.348 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3234, allocations: 0 / 1.348 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3234, allocations: 0 / 1.348 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.218e-05/0.3235, allocations: 149.7 kB / 1.348 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3235, allocations: 0 / 1.348 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.3235, allocations: 4 kB / 1.348 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3236, allocations: 3.938 kB / 1.348 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.3236, allocations: 4 kB / 1.348 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3236, allocations: 4 kB / 1.348 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3236, allocations: 11.92 kB / 1.348 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.3239, allocations: 0.6239 MB / 1.349 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.324, allocations: 81.09 kB / 1.349 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.324, allocations: 7.938 kB / 1.349 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.588e-05/0.324, allocations: 4 kB / 1.349 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.3241, allocations: 4 kB / 1.349 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.3241, allocations: 3.938 kB / 1.349 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.552e-05/0.3241, allocations: 83.69 kB / 1.349 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3241, allocations: 0 / 1.349 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002679/0.3244, allocations: 8 kB / 1.349 GB, free: 14.14 MB / 0.8542 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.0001305/0.3245, allocations: 107.2 kB / 1.349 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.3247, allocations: 28.06 kB / 1.349 GB, free: 14 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3247, allocations: 0 / 1.349 GB, free: 14 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.61e-05/0.3247, allocations: 16.03 kB / 1.349 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.3249, allocations: 7.984 kB / 1.349 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.3253, allocations: 236.5 kB / 1.35 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.3254, allocations: 0.6848 MB / 1.35 GB, free: 13 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.095e-05/0.3255, allocations: 7.984 kB / 1.35 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.538e-05/0.3255, allocations: 7.438 kB / 1.35 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of SimCode: time 2.5e-07/0.3255, allocations: 0 / 1.35 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of Templates: time 0.002117/0.3276, allocations: 0.4959 MB / 1.351 GB, free: 12.49 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)