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.001169/0.001169, allocations: 107 kB / 16.41 MB, free: 6.5 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.001237/0.001237, allocations: 187 kB / 17.34 MB, free: 5.742 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.253/1.253, 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.002123/0.002123, allocations: 296 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8957/0.8957, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 104.3 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4958/0.4977, allocations: 86.97 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002583/0.5003, allocations: 1.276 MB / 0.7683 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.5018, allocations: 0.8669 MB / 0.7691 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.6e-05/0.5018, allocations: 0 / 0.7691 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.5018, allocations: 0 / 0.7691 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.595e-05/0.5019, allocations: 3.938 kB / 0.7691 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007432/0.5027, allocations: 199.9 kB / 0.7693 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.826e-05/0.5027, allocations: 23.92 kB / 0.7694 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.423e-05/0.5028, allocations: 3.984 kB / 0.7694 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.908e-05/0.5028, allocations: 4 kB / 0.7694 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.512e-05/0.5029, allocations: 11.92 kB / 0.7694 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.5029, allocations: 0 / 0.7694 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004052/0.5033, allocations: 236.6 kB / 0.7696 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.5034, allocations: 7.984 kB / 0.7696 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.5034, allocations: 11.94 kB / 0.7696 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.5037, allocations: 143.7 kB / 0.7698 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5037, allocations: 4 kB / 0.7698 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.993e-06/0.5037, allocations: 4 kB / 0.7698 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.5037, allocations: 0 / 0.7698 GB, free: 1.148 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.0005143/0.5043, allocations: 354.2 kB / 0.7701 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.5043, allocations: 12.03 kB / 0.7701 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.5045, allocations: 12.83 kB / 0.7701 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.5046, allocations: 164.4 kB / 0.7703 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.5046, allocations: 384 / 0.7703 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.5047, allocations: 8.125 kB / 0.7703 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.5048, allocations: 45.67 kB / 0.7703 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.5048, allocations: 0 / 0.7703 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.5048, allocations: 0 / 0.7703 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.5048, allocations: 0 / 0.7703 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.471e-05/0.5049, allocations: 19.92 kB / 0.7704 GB, free: 468 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.5051, allocations: 161.6 kB / 0.7705 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008871/0.506, allocations: 130.6 kB / 0.7706 GB, free: 116 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.506, allocations: 24.78 kB / 0.7707 GB, free: 88 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.5062, allocations: 85.11 kB / 0.7707 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.5062, allocations: 38.55 kB / 0.7708 GB, free: 15.94 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.5062, allocations: 0 / 0.7708 GB, free: 15.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001895/0.5064, allocations: 69.56 kB / 0.7708 GB, free: 15.86 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.5064, allocations: 51.41 kB / 0.7709 GB, free: 15.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.026e-05/0.5065, allocations: 89.86 kB / 0.771 GB, free: 15.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.047e-05/0.5066, allocations: 29.7 kB / 0.771 GB, free: 15.67 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.5066, allocations: 84.12 kB / 0.7711 GB, free: 15.58 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.5067, allocations: 15.8 kB / 0.7711 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.5067, allocations: 21.84 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5068, allocations: 310.8 kB / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.233e-05/0.5069, allocations: 4 kB / 0.7714 GB, free: 15.22 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.102e-05/0.5069, allocations: 15.98 kB / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.802e-05/0.5069, allocations: 28.8 kB / 0.7715 GB, free: 15.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.507, allocations: 0 / 0.7715 GB, free: 15.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.445e-05/0.5071, allocations: 57.62 kB / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.5071, allocations: 11.94 kB / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5071, allocations: 0 / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.5071, allocations: 4 kB / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.803e-05/0.5072, allocations: 7.984 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.5072, allocations: 0 / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.83e-05/0.5072, allocations: 4 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.5072, allocations: 0 / 0.7715 GB, free: 15.09 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.29e-05/0.5073, allocations: 112.2 kB / 0.7716 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.5073, allocations: 7.938 kB / 0.7717 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.5076, allocations: 77.11 kB / 0.7717 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.5076, allocations: 64 / 0.7717 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.5076, allocations: 8 kB / 0.7717 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.5076, allocations: 3.984 kB / 0.7717 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.5078, allocations: 165.5 kB / 0.7719 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5078, allocations: 3.984 kB / 0.7719 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.919e-05/0.5078, allocations: 8 kB / 0.7719 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.5078, allocations: 4 kB / 0.7719 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.5079, allocations: 0 / 0.7719 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.5079, allocations: 4 kB / 0.7719 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5079, allocations: 0 / 0.7719 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.508, allocations: 89 kB / 0.772 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.508, allocations: 81.42 kB / 0.7721 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.5081, allocations: 0 / 0.7721 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.864e-05/0.5081, allocations: 4 kB / 0.7721 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.5081, allocations: 8 kB / 0.7721 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.5082, allocations: 7.984 kB / 0.7721 GB, free: 14.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.894e-05/0.5082, allocations: 75.28 kB / 0.7722 GB, free: 14.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5082, allocations: 0 / 0.7722 GB, free: 14.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002404/0.5085, allocations: 43.98 kB / 0.7722 GB, free: 14.3 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.000338/0.5088, allocations: 174.5 kB / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.5089, allocations: 31.92 kB / 0.7724 GB, free: 14.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5089, allocations: 3.938 kB / 0.7724 GB, free: 14.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.638e-05/0.509, allocations: 16 kB / 0.7724 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.5091, allocations: 7.938 kB / 0.7724 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.5095, allocations: 152.3 kB / 0.7726 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.5097, allocations: 0.6729 MB / 0.7732 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.5097, allocations: 19.42 kB / 0.7733 GB, free: 13.16 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.5097, allocations: 0 / 0.7733 GB, free: 13.16 MB / 0.545 GB Notification: Performance of Templates: time 0.002551/0.5123, allocations: 1.052 MB / 0.7743 GB, free: 12.12 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)