Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008169/0.0008169, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005572/0.005572, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.426/1.426, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.791/2.791, allocations: 473.4 MB / 0.7469 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004449/0.0004449, allocations: 13.53 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3523, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001281/0.3536, allocations: 0.9861 MB / 1.075 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000578/0.3542, allocations: 297.4 kB / 1.075 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.527e-05/0.3542, allocations: 3.938 kB / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.326e-05/0.3543, allocations: 3.938 kB / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.241e-05/0.3543, allocations: 0 / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.3545, allocations: 47.81 kB / 1.075 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.927e-05/0.3546, allocations: 19.86 kB / 1.075 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.288e-05/0.3546, allocations: 0 / 1.075 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.393e-05/0.3547, allocations: 8 kB / 1.075 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.786e-05/0.3547, allocations: 7.938 kB / 1.075 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.3547, allocations: 0 / 1.075 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.3549, allocations: 63.94 kB / 1.076 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.909e-06/0.3549, allocations: 0 / 1.076 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.3549, allocations: 33.69 kB / 1.076 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.3551, allocations: 52.12 kB / 1.076 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3551, allocations: 0 / 1.076 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3551, allocations: 0 / 1.076 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3551, allocations: 0 / 1.076 GB, free: 6.008 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003266/0.3554, allocations: 325.3 kB / 1.076 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3555, allocations: 12.03 kB / 1.076 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.3557, allocations: 20.91 kB / 1.076 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.513e-05/0.3558, allocations: 168.3 kB / 1.076 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.3558, allocations: 4.375 kB / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.3558, allocations: 4.312 kB / 1.076 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.3559, allocations: 46.19 kB / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.356, allocations: 192 / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.356, allocations: 7.922 kB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.356, allocations: 0 / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.367e-05/0.356, allocations: 19.98 kB / 1.076 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.3562, allocations: 161.6 kB / 1.076 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.3581, allocations: 266.4 kB / 1.077 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.228e-05/0.3582, allocations: 24.86 kB / 1.077 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.3582, allocations: 7.938 kB / 1.077 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.3582, allocations: 34.5 kB / 1.077 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.3582, allocations: 0 / 1.077 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001544/0.3584, allocations: 61.62 kB / 1.077 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.3584, allocations: 59.39 kB / 1.077 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.808e-05/0.3585, allocations: 93.86 kB / 1.077 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.3585, allocations: 25.7 kB / 1.077 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.109e-05/0.3585, allocations: 84.27 kB / 1.077 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.3586, allocations: 7.891 kB / 1.077 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.3586, allocations: 13.72 kB / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3587, allocations: 314.8 kB / 1.077 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.308e-05/0.3587, allocations: 11.98 kB / 1.077 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.522e-05/0.3588, allocations: 4 kB / 1.077 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.723e-05/0.3588, allocations: 32.8 kB / 1.077 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3588, allocations: 0 / 1.077 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.609e-05/0.3589, allocations: 57.59 kB / 1.077 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.3589, allocations: 8 kB / 1.077 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3589, allocations: 3.938 kB / 1.077 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.359, allocations: 0 / 1.077 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.574e-05/0.359, allocations: 11.98 kB / 1.077 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.359, allocations: 0 / 1.077 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.873e-05/0.3591, allocations: 0 / 1.077 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.3591, allocations: 0 / 1.077 GB, free: 3.93 MB / 0.8262 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 (4): * Single equations (assignments): 4 * 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 6.612e-05/0.3591, allocations: 113.8 kB / 1.078 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-06/0.3591, allocations: 0 / 1.078 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.301e-05/0.3592, allocations: 15.44 kB / 1.078 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.3592, allocations: 0 / 1.078 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3592, allocations: 0 / 1.078 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3592, allocations: 0 / 1.078 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.3593, allocations: 157.7 kB / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3593, allocations: 0 / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.337e-05/0.3594, allocations: 4 kB / 1.078 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.3594, allocations: 4.312 kB / 1.078 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.3594, allocations: 15.88 kB / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.3594, allocations: 7.938 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3594, allocations: 0 / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.3595, allocations: 81.11 kB / 1.078 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/0.3596, allocations: 84.95 kB / 1.078 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.3596, allocations: 3.938 kB / 1.078 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.235e-05/0.3597, allocations: 8 kB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.3597, allocations: 7.922 kB / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.3597, allocations: 0 / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.937e-05/0.3597, allocations: 79.28 kB / 1.078 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3598, allocations: 4.094 kB / 1.078 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000181/0.3599, allocations: 4 kB / 1.078 GB, free: 3.25 MB / 0.8262 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 (4): * Single equations (assignments): 4 * 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 9.869e-05/0.36, allocations: 95.25 kB / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.074e-05/0.3601, allocations: 27.98 kB / 1.078 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3601, allocations: 0 / 1.078 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.57e-05/0.3602, allocations: 15.94 kB / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.3604, allocations: 13.55 kB / 1.078 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.3607, allocations: 136.6 kB / 1.078 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.3609, allocations: 0.6731 MB / 1.079 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.961e-05/0.361, allocations: 11.86 kB / 1.079 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.361, allocations: 11.42 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.361, allocations: 0 / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of Templates: time 0.0024/0.3634, allocations: 491.7 kB / 1.079 GB, free: 1.73 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)