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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8168/0.8168, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 172.9 kB / 182.2 MB, free: 9.465 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 221.5 MB / 436.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008966/0.0008965, allocations: 96.09 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00178/0.00178, allocations: 274.3 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.53e-05/1.534e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3552, allocations: 82.78 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.4829, allocations: 109.3 MB / 0.8642 GB, free: 2.516 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.4832, allocations: 87.81 kB / 0.8642 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02007/0.5033, allocations: 6.21 MB / 0.8703 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.045e-06/0.5034, allocations: 0 / 0.8703 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.5034, allocations: 3.938 kB / 0.8703 GB, free: 12.21 MB / 0.5417 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.0003297/0.5037, allocations: 370.3 kB / 0.8707 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.5038, allocations: 8.031 kB / 0.8707 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.5039, allocations: 4 kB / 0.8707 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.812e-05/0.504, allocations: 167.1 kB / 0.8708 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.5041, allocations: 3.953 kB / 0.8708 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.5041, allocations: 3.938 kB / 0.8708 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.755e-05/0.5041, allocations: 12 kB / 0.8709 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.364e-05/0.5042, allocations: 45.62 kB / 0.8709 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.5043, allocations: 0 / 0.8709 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.5043, allocations: 4 kB / 0.8709 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.5043, allocations: 0 / 0.8709 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.5044, allocations: 138.2 kB / 0.871 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008672/0.5053, allocations: 126.6 kB / 0.8712 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.767e-05/0.5054, allocations: 16.86 kB / 0.8712 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.5055, allocations: 81.11 kB / 0.8712 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.5055, allocations: 38.52 kB / 0.8713 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.5055, allocations: 4 kB / 0.8713 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001788/0.5057, allocations: 61.61 kB / 0.8713 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.5057, allocations: 55.41 kB / 0.8714 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.049e-05/0.5058, allocations: 85 kB / 0.8715 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.5058, allocations: 25.7 kB / 0.8715 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.279e-05/0.5058, allocations: 80.14 kB / 0.8716 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.5059, allocations: 11.91 kB / 0.8716 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.5059, allocations: 0 / 0.8716 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.115e-05/0.506, allocations: 319 kB / 0.8719 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.74e-05/0.506, allocations: 4 kB / 0.8719 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.559e-05/0.506, allocations: 8 kB / 0.8719 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.518e-05/0.5061, allocations: 15.98 kB / 0.8719 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5061, allocations: 0 / 0.8719 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001057/0.5062, allocations: 53.59 kB / 0.872 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.5062, allocations: 9.656 kB / 0.872 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5062, allocations: 0 / 0.872 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.5063, allocations: 3.953 kB / 0.872 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.267e-05/0.5063, allocations: 15.92 kB / 0.872 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.5063, allocations: 4 kB / 0.872 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.024e-05/0.5064, allocations: 0 / 0.872 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.5064, allocations: 4 kB / 0.872 GB, free: 10.25 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.16e-05/0.5065, allocations: 104.9 kB / 0.8721 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.5065, allocations: 0 / 0.8721 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.5067, allocations: 85.53 kB / 0.8722 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.5067, allocations: 3.953 kB / 0.8722 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5068, allocations: 4.062 kB / 0.8722 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5068, allocations: 0 / 0.8722 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.211e-05/0.5069, allocations: 130.2 kB / 0.8723 GB, free: 9.883 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.5069, allocations: 3.984 kB / 0.8723 GB, free: 9.879 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.569e-05/0.5069, allocations: 11.94 kB / 0.8723 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.5069, allocations: 0 / 0.8723 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.507, allocations: 7.938 kB / 0.8723 GB, free: 9.859 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.507, allocations: 4 kB / 0.8723 GB, free: 9.855 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.507, allocations: 0 / 0.8723 GB, free: 9.855 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.5071, allocations: 88.98 kB / 0.8724 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.656e-05/0.5072, allocations: 85.09 kB / 0.8725 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.5072, allocations: 0 / 0.8725 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.593e-05/0.5072, allocations: 0 / 0.8725 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/0.5073, allocations: 3.984 kB / 0.8725 GB, free: 9.645 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.5073, allocations: 4 kB / 0.8725 GB, free: 9.641 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.687e-05/0.5073, allocations: 79.28 kB / 0.8726 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5073, allocations: 0 / 0.8726 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002707/0.5076, allocations: 51.89 kB / 0.8726 GB, free: 9.512 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003721/0.508, allocations: 180.6 kB / 0.8728 GB, free: 9.332 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.01e-05/0.5081, allocations: 19.98 kB / 0.8728 GB, free: 9.312 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5081, allocations: 4.094 kB / 0.8728 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.37e-05/0.5081, allocations: 16 kB / 0.8729 GB, free: 9.293 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.5083, allocations: 8 kB / 0.8729 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002159/0.5085, allocations: 63.88 kB / 0.8729 GB, free: 9.199 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.5087, allocations: 0.6845 MB / 0.8736 GB, free: 8.488 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.699e-05/0.5088, allocations: 11.94 kB / 0.8736 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.5088, allocations: 19.42 kB / 0.8736 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of SimCode: time 3.11e-07/0.5089, allocations: 3.938 kB / 0.8736 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of Templates: time 0.003408/0.5123, allocations: 0.9932 MB / 0.8746 GB, free: 7.469 MB / 0.5417 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)