Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001089/0.001089, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001071/0.001071, allocations: 186.9 kB / 16.25 MB, free: 6.594 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.42/1.42, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.806/2.806, allocations: 472.6 MB / 0.7448 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 72.5 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3629, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002784/0.3658, allocations: 1.317 MB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000607/0.3664, allocations: 293.3 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.971e-05/0.3664, allocations: 0 / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.446e-05/0.3665, allocations: 3.938 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.471e-05/0.3666, allocations: 7.922 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.3669, allocations: 51.81 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.708e-05/0.367, allocations: 15.88 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.367, allocations: 0 / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.227e-05/0.3671, allocations: 8 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.798e-05/0.3671, allocations: 11.92 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.3672, allocations: 0 / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.3673, allocations: 59.95 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.3673, allocations: 3.984 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.3673, allocations: 4 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.3675, allocations: 60.09 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3675, allocations: 0 / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3675, allocations: 0 / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3675, allocations: 0 / 1.069 GB, free: 8.965 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.0003879/0.3679, allocations: 331.6 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.368, allocations: 8.031 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/0.3682, allocations: 16.92 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.3683, allocations: 176.2 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.3683, allocations: 8.375 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.3683, allocations: 384 / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.3685, allocations: 42.25 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3685, allocations: 192 / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.3685, allocations: 7.938 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.3685, allocations: 0 / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.647e-05/0.3686, allocations: 19.98 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.3688, allocations: 157.6 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.3706, allocations: 270.4 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.515e-05/0.3707, allocations: 20.84 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.3707, allocations: 0 / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.3707, allocations: 42.5 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3707, allocations: 0 / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001725/0.3709, allocations: 65.62 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.371, allocations: 55.34 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.088e-05/0.371, allocations: 89.86 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.3711, allocations: 29.69 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.027e-05/0.3711, allocations: 80.14 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.3711, allocations: 19.94 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.3712, allocations: 13.72 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3713, allocations: 314.8 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.059e-05/0.3713, allocations: 7.984 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.703e-05/0.3713, allocations: 8 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.633e-05/0.3714, allocations: 24.86 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3714, allocations: 0 / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.982e-05/0.3715, allocations: 57.62 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3715, allocations: 7.938 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3715, allocations: 7.938 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3715, allocations: 0 / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.788e-05/0.3716, allocations: 8.328 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3716, allocations: 0 / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.007e-05/0.3716, allocations: 3.984 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.3716, allocations: 0 / 1.071 GB, free: 6.883 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 8.195e-05/0.3717, allocations: 113.8 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.148e-06/0.3717, allocations: 0 / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.47e-05/0.3718, allocations: 15.42 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3718, allocations: 8 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3718, allocations: 0 / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3718, allocations: 0 / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.3719, allocations: 153.7 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3719, allocations: 0 / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/0.372, allocations: 4 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.372, allocations: 4 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.372, allocations: 3.938 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.372, allocations: 0 / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.372, allocations: 7.922 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.3721, allocations: 85.06 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.901e-05/0.3722, allocations: 84.95 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.3722, allocations: 7.938 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.223e-05/0.3723, allocations: 0 / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.162e-05/0.3723, allocations: 3.984 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.3723, allocations: 8 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.527e-05/0.3724, allocations: 79.28 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3724, allocations: 96 / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001814/0.3726, allocations: 8 kB / 1.072 GB, free: 6.207 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 0.0001301/0.3727, allocations: 99.25 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.3728, allocations: 27.92 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3728, allocations: 0 / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.01e-05/0.3728, allocations: 16 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.3731, allocations: 9.109 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.3734, allocations: 138.6 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.3736, allocations: 0.6729 MB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.014e-05/0.3737, allocations: 11.8 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.3737, allocations: 7.438 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3737, allocations: 7.938 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of Templates: time 0.002623/0.3764, allocations: 0.5084 MB / 1.073 GB, free: 4.656 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)