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.004329/0.004329, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001024/0.001024, allocations: 196.7 kB / 16.67 MB, free: 5.52 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002035/0.002035, allocations: 293.1 kB / 290.8 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.9131/0.9131, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 95.86 kB / 0.6815 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4153, allocations: 86.97 MB / 0.7664 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002231/0.4176, allocations: 1.276 MB / 0.7676 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.4189, allocations: 0.863 MB / 0.7685 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.228e-05/0.419, allocations: 4 kB / 0.7685 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.617e-05/0.419, allocations: 3.938 kB / 0.7685 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.166e-05/0.4191, allocations: 3.984 kB / 0.7685 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006891/0.4198, allocations: 193.9 kB / 0.7687 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.693e-05/0.4198, allocations: 23.92 kB / 0.7687 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.609e-05/0.4199, allocations: 0 / 0.7687 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.763e-05/0.4199, allocations: 7.938 kB / 0.7687 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.506e-05/0.42, allocations: 19.92 kB / 0.7687 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.318e-06/0.42, allocations: 0 / 0.7687 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003651/0.4204, allocations: 236.6 kB / 0.7689 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.4204, allocations: 4 kB / 0.7689 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.4204, allocations: 7.938 kB / 0.769 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.4207, allocations: 139.8 kB / 0.7691 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4207, allocations: 4 kB / 0.7691 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4207, allocations: 0 / 0.7691 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.778e-06/0.4207, allocations: 0 / 0.7691 GB, free: 1.012 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.0003929/0.4211, allocations: 358.2 kB / 0.7694 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.4211, allocations: 15.97 kB / 0.7695 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.4213, allocations: 12.83 kB / 0.7695 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.858e-05/0.4214, allocations: 164.4 kB / 0.7696 GB, free: 400 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.4214, allocations: 384 / 0.7696 GB, free: 400 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.4214, allocations: 8.125 kB / 0.7696 GB, free: 392 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.4216, allocations: 49.61 kB / 0.7697 GB, free: 336 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.4216, allocations: 0 / 0.7697 GB, free: 336 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.4216, allocations: 4 kB / 0.7697 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.4216, allocations: 0 / 0.7697 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.886e-05/0.4217, allocations: 16 kB / 0.7697 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.4218, allocations: 157.6 kB / 0.7698 GB, free: 108 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008807/0.4227, allocations: 130.6 kB / 0.77 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.045e-05/0.4227, allocations: 28.73 kB / 0.77 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.987e-05/0.4229, allocations: 85.11 kB / 0.7701 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.4229, allocations: 38.5 kB / 0.7701 GB, free: 15.79 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.4229, allocations: 0 / 0.7701 GB, free: 15.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001745/0.4231, allocations: 61.67 kB / 0.7702 GB, free: 15.72 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.4231, allocations: 51.41 kB / 0.7702 GB, free: 15.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.66e-05/0.4232, allocations: 89.86 kB / 0.7703 GB, free: 15.56 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.4232, allocations: 33.83 kB / 0.7703 GB, free: 15.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.4232, allocations: 84.14 kB / 0.7704 GB, free: 15.44 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.4233, allocations: 11.75 kB / 0.7704 GB, free: 15.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.4233, allocations: 21.7 kB / 0.7705 GB, free: 15.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.469e-05/0.4234, allocations: 310.8 kB / 0.7707 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.275e-05/0.4234, allocations: 8 kB / 0.7708 GB, free: 15.08 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.967e-05/0.4235, allocations: 11.98 kB / 0.7708 GB, free: 15.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.063e-05/0.4235, allocations: 33.06 kB / 0.7708 GB, free: 15.03 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4235, allocations: 0 / 0.7708 GB, free: 15.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.448e-05/0.4236, allocations: 61.62 kB / 0.7709 GB, free: 14.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.4237, allocations: 8 kB / 0.7709 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4237, allocations: 0 / 0.7709 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.4237, allocations: 0 / 0.7709 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.68e-05/0.4238, allocations: 11.92 kB / 0.7709 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4238, allocations: 4 kB / 0.7709 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.765e-05/0.4238, allocations: 0 / 0.7709 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.4238, allocations: 0 / 0.7709 GB, free: 14.94 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.126e-05/0.4239, allocations: 120.2 kB / 0.771 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.4239, allocations: 7.938 kB / 0.771 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.4241, allocations: 73.17 kB / 0.7711 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4241, allocations: 0 / 0.7711 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.4241, allocations: 4 kB / 0.7711 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4241, allocations: 0 / 0.7711 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.4243, allocations: 169.5 kB / 0.7712 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4243, allocations: 0 / 0.7712 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.168e-05/0.4243, allocations: 11.98 kB / 0.7713 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4243, allocations: 0 / 0.7713 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.4243, allocations: 0 / 0.7713 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.4243, allocations: 8.062 kB / 0.7713 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4244, allocations: 0 / 0.7713 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.4245, allocations: 89 kB / 0.7713 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/0.4245, allocations: 81.09 kB / 0.7714 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.4245, allocations: 4 kB / 0.7714 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.768e-05/0.4246, allocations: 8 kB / 0.7714 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.4246, allocations: 0 / 0.7714 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.4246, allocations: 4 kB / 0.7714 GB, free: 14.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.668e-05/0.4247, allocations: 75.28 kB / 0.7715 GB, free: 14.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4247, allocations: 0 / 0.7715 GB, free: 14.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002341/0.4249, allocations: 47.98 kB / 0.7716 GB, free: 14.15 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.0003385/0.4253, allocations: 173.9 kB / 0.7717 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.4254, allocations: 31.92 kB / 0.7717 GB, free: 13.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.4254, allocations: 0 / 0.7717 GB, free: 13.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.796e-05/0.4254, allocations: 16 kB / 0.7718 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.4256, allocations: 7.938 kB / 0.7718 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/0.4259, allocations: 134.6 kB / 0.7719 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.4262, allocations: 0.6767 MB / 0.7726 GB, free: 13.06 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.805e-05/0.4262, allocations: 19.91 kB / 0.7726 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.4263, allocations: 7.438 kB / 0.7726 GB, free: 13.04 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4263, allocations: 4 kB / 0.7726 GB, free: 13.03 MB / 0.545 GB Notification: Performance of Templates: time 0.003321/0.4296, allocations: 1.069 MB / 0.7736 GB, free: 11.97 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)