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.001198/0.001198, allocations: 107 kB / 16.41 MB, free: 6.496 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.001165/0.001165, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002005, allocations: 296.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8926/0.8926, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 87.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4615/0.4634, allocations: 86.98 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002389/0.4658, allocations: 1.273 MB / 0.7683 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.4672, allocations: 0.8786 MB / 0.7691 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.554e-05/0.4673, allocations: 0 / 0.7691 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.066e-05/0.4673, allocations: 0 / 0.7691 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.265e-05/0.4674, allocations: 3.938 kB / 0.7691 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007117/0.4681, allocations: 198.5 kB / 0.7693 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.217e-05/0.4682, allocations: 23.8 kB / 0.7694 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.4682, allocations: 0 / 0.7694 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.991e-05/0.4682, allocations: 8 kB / 0.7694 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.928e-05/0.4683, allocations: 11.92 kB / 0.7694 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.4683, allocations: 4 kB / 0.7694 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00039/0.4687, allocations: 235.7 kB / 0.7696 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.4687, allocations: 4 kB / 0.7696 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.4688, allocations: 7.938 kB / 0.7696 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.4691, allocations: 143.8 kB / 0.7698 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.4691, allocations: 4 kB / 0.7698 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4691, allocations: 0 / 0.7698 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.4691, allocations: 0 / 0.7698 GB, free: 1.141 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.0004248/0.4695, allocations: 358.2 kB / 0.7701 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.4696, allocations: 8.031 kB / 0.7701 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/0.4698, allocations: 16.77 kB / 0.7701 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.4699, allocations: 160.4 kB / 0.7703 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.4699, allocations: 12.31 kB / 0.7703 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.4699, allocations: 4.125 kB / 0.7703 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.47, allocations: 49.67 kB / 0.7703 GB, free: 468 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.47, allocations: 0 / 0.7703 GB, free: 468 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.4701, allocations: 3.984 kB / 0.7703 GB, free: 464 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4701, allocations: 0 / 0.7703 GB, free: 464 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.898e-05/0.4701, allocations: 12 kB / 0.7704 GB, free: 452 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.4703, allocations: 161.6 kB / 0.7705 GB, free: 240 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008834/0.4712, allocations: 130.5 kB / 0.7706 GB, free: 100 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.171e-05/0.4712, allocations: 32.84 kB / 0.7707 GB, free: 64 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.4714, allocations: 81.11 kB / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.4714, allocations: 30.56 kB / 0.7708 GB, free: 15.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.4714, allocations: 0 / 0.7708 GB, free: 15.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001946/0.4716, allocations: 61.67 kB / 0.7708 GB, free: 15.86 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.4717, allocations: 59.41 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.584e-05/0.4718, allocations: 93.86 kB / 0.771 GB, free: 15.69 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.4718, allocations: 25.7 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.708e-05/0.4718, allocations: 84.08 kB / 0.7711 GB, free: 15.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.4718, allocations: 7.812 kB / 0.7711 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.4719, allocations: 21.7 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.472, allocations: 314.8 kB / 0.7714 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.573e-05/0.472, allocations: 12.12 kB / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.986e-05/0.4721, allocations: 11.98 kB / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.723e-05/0.4721, allocations: 24.86 kB / 0.7715 GB, free: 15.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4721, allocations: 0 / 0.7715 GB, free: 15.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.288e-05/0.4722, allocations: 61.56 kB / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.4722, allocations: 4 kB / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4722, allocations: 0 / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.4723, allocations: 0 / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.362e-05/0.4723, allocations: 11.94 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.4724, allocations: 7.922 kB / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.4724, allocations: 8 kB / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.4724, allocations: 0 / 0.7715 GB, free: 15.07 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 7.69e-05/0.4725, allocations: 109.8 kB / 0.7717 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.4725, allocations: 3.938 kB / 0.7717 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.4728, allocations: 81.17 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4728, allocations: 336 / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4728, allocations: 0 / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4728, allocations: 0 / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.4729, allocations: 173.4 kB / 0.7719 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4729, allocations: 4 kB / 0.7719 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.264e-05/0.473, allocations: 11.92 kB / 0.7719 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.473, allocations: 64 / 0.7719 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.473, allocations: 8 kB / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.473, allocations: 0 / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.473, allocations: 4 kB / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.4732, allocations: 85.06 kB / 0.772 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.4732, allocations: 81.11 kB / 0.7721 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.4732, allocations: 7.984 kB / 0.7721 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.618e-05/0.4733, allocations: 0 / 0.7721 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.4733, allocations: 0 / 0.7721 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.4733, allocations: 4 kB / 0.7721 GB, free: 14.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.852e-05/0.4734, allocations: 79.28 kB / 0.7722 GB, free: 14.33 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4734, allocations: 0 / 0.7722 GB, free: 14.33 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002497/0.4736, allocations: 47.98 kB / 0.7722 GB, free: 14.28 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.0004165/0.474, allocations: 165.9 kB / 0.7724 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.4742, allocations: 31.92 kB / 0.7724 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4742, allocations: 0 / 0.7724 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-05/0.4742, allocations: 20.09 kB / 0.7724 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.4744, allocations: 12.69 kB / 0.7724 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.4748, allocations: 152.3 kB / 0.7726 GB, free: 13.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.475, allocations: 0.6767 MB / 0.7732 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.4751, allocations: 11.44 kB / 0.7733 GB, free: 13.15 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4751, allocations: 0 / 0.7733 GB, free: 13.15 MB / 0.545 GB Notification: Performance of Templates: time 0.00284/0.4779, allocations: 1.045 MB / 0.7743 GB, free: 12.11 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)