Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") 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: 107.6 kB / 16.41 MB, free: 6.016 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.001261/0.001261, allocations: 188.3 kB / 17.34 MB, free: 5.629 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.485/1.485, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002524/0.002524, allocations: 290.2 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9905/0.9905, allocations: 169.2 MB / 0.499 GB, free: 4.398 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002728/0.002728, allocations: 91.86 kB / 0.6821 GB, free: 6.891 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.4447, allocations: 86.97 MB / 0.767 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.00238/0.4471, allocations: 1.276 MB / 0.7683 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.4485, allocations: 0.8708 MB / 0.7691 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.232e-05/0.4485, allocations: 0 / 0.7691 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.936e-05/0.4485, allocations: 4 kB / 0.7691 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.104e-05/0.4486, allocations: 7.922 kB / 0.7692 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006166/0.4492, allocations: 197.9 kB / 0.7693 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.205e-05/0.4493, allocations: 19.88 kB / 0.7694 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.642e-05/0.4493, allocations: 7.969 kB / 0.7694 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.327e-05/0.4493, allocations: 8 kB / 0.7694 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.465e-05/0.4494, allocations: 7.938 kB / 0.7694 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.175e-06/0.4494, allocations: 0 / 0.7694 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003735/0.4498, allocations: 235.7 kB / 0.7696 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.796e-06/0.4498, allocations: 4 kB / 0.7696 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.4498, allocations: 15.91 kB / 0.7696 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.4501, allocations: 145.7 kB / 0.7698 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4501, allocations: 0 / 0.7698 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4501, allocations: 0 / 0.7698 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.4501, allocations: 4 kB / 0.7698 GB, free: 1.078 MB / 0.5294 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.0004424/0.4505, allocations: 355.2 kB / 0.7701 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.4506, allocations: 15.97 kB / 0.7701 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.4507, allocations: 4.938 kB / 0.7701 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.4509, allocations: 172.3 kB / 0.7703 GB, free: 468 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.4509, allocations: 8.312 kB / 0.7703 GB, free: 460 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.4509, allocations: 12.11 kB / 0.7703 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.451, allocations: 37.69 kB / 0.7704 GB, free: 404 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.451, allocations: 4 kB / 0.7704 GB, free: 400 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.451, allocations: 0 / 0.7704 GB, free: 400 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.451, allocations: 0 / 0.7704 GB, free: 400 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.887e-05/0.4511, allocations: 15.98 kB / 0.7704 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.4512, allocations: 153.7 kB / 0.7705 GB, free: 180 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009225/0.4522, allocations: 134.5 kB / 0.7706 GB, free: 36 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.6e-05/0.4522, allocations: 24.73 kB / 0.7707 GB, free: 8 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.4523, allocations: 85.09 kB / 0.7708 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.4524, allocations: 38.56 kB / 0.7708 GB, free: 15.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.4524, allocations: 0 / 0.7708 GB, free: 15.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001967/0.4526, allocations: 57.69 kB / 0.7708 GB, free: 15.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.4526, allocations: 51.41 kB / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.347e-05/0.4527, allocations: 97.84 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.4527, allocations: 29.7 kB / 0.771 GB, free: 15.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.4528, allocations: 84.08 kB / 0.7711 GB, free: 15.51 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.4528, allocations: 11.89 kB / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.4528, allocations: 21.84 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.453, allocations: 318.8 kB / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.421e-05/0.453, allocations: 8 kB / 0.7714 GB, free: 15.14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.815e-05/0.453, allocations: 4 kB / 0.7714 GB, free: 15.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.375e-05/0.4531, allocations: 32.84 kB / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4531, allocations: 0 / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.296e-05/0.4532, allocations: 57.62 kB / 0.7715 GB, free: 15.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.4532, allocations: 6.812 kB / 0.7715 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.4532, allocations: 0 / 0.7715 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.4532, allocations: 4 kB / 0.7715 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.329e-05/0.4533, allocations: 19.88 kB / 0.7716 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.4533, allocations: 0 / 0.7716 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.999e-05/0.4533, allocations: 3.953 kB / 0.7716 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.4533, allocations: 0 / 0.7716 GB, free: 15.01 MB / 0.545 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.704e-05/0.4534, allocations: 116.2 kB / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.4534, allocations: 8.25 kB / 0.7717 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.4536, allocations: 77.17 kB / 0.7718 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.4536, allocations: 7.984 kB / 0.7718 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.4536, allocations: 0 / 0.7718 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4536, allocations: 0 / 0.7718 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.4538, allocations: 161.5 kB / 0.7719 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.4538, allocations: 4 kB / 0.7719 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.273e-05/0.4538, allocations: 7.938 kB / 0.7719 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4538, allocations: 0 / 0.7719 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.4538, allocations: 8 kB / 0.7719 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4538, allocations: 0 / 0.7719 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4538, allocations: 0 / 0.7719 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.454, allocations: 89.05 kB / 0.772 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.055e-05/0.454, allocations: 81.06 kB / 0.7721 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.454, allocations: 4 kB / 0.7721 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.11e-05/0.4541, allocations: 4 kB / 0.7721 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.4541, allocations: 7.984 kB / 0.7721 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.4541, allocations: 7.938 kB / 0.7721 GB, free: 14.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.711e-05/0.4542, allocations: 75.28 kB / 0.7722 GB, free: 14.26 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4542, allocations: 0 / 0.7722 GB, free: 14.26 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002489/0.4544, allocations: 47.88 kB / 0.7722 GB, free: 14.21 MB / 0.545 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 (5): * Single equations (assignments): 5 * 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.000379/0.4548, allocations: 166.8 kB / 0.7724 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.4549, allocations: 32.08 kB / 0.7724 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4549, allocations: 0 / 0.7724 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.169e-05/0.4549, allocations: 19.98 kB / 0.7724 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.4551, allocations: 8.812 kB / 0.7725 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.4554, allocations: 126.6 kB / 0.7726 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.4557, allocations: 0.6807 MB / 0.7732 GB, free: 13.13 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.693e-05/0.4558, allocations: 15.92 kB / 0.7733 GB, free: 13.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.4558, allocations: 11.44 kB / 0.7733 GB, free: 13.1 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.4558, allocations: 0 / 0.7733 GB, free: 13.1 MB / 0.545 GB Notification: Performance of Templates: time 0.003982/0.4598, allocations: 1.072 MB / 0.7743 GB, free: 12.04 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)