Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.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_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7586/0.7586, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 181.2 kB / 187.2 MB, free: 11.89 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.409/1.409, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0008736/0.0008738, allocations: 99.92 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002207/0.002208, allocations: 276.2 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.258e-05/4.27e-05, allocations: 4 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4934/0.4935, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1123/0.6059, allocations: 108.9 MB / 0.8706 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.6061, allocations: 81.08 kB / 0.8707 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.004148/0.6103, allocations: 1.502 MB / 0.8722 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6103, allocations: 0 / 0.8722 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.6103, allocations: 4 kB / 0.8722 GB, free: 14.09 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.0003069/0.6107, allocations: 327.8 kB / 0.8725 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.6107, allocations: 12.02 kB / 0.8725 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002274/0.6109, allocations: 18.08 kB / 0.8725 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.6111, allocations: 163 kB / 0.8727 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.6111, allocations: 3.953 kB / 0.8727 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.6111, allocations: 4 kB / 0.8727 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.6112, allocations: 50.52 kB / 0.8727 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.6113, allocations: 0 / 0.8727 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.6113, allocations: 5.5 kB / 0.8727 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.6113, allocations: 0 / 0.8727 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.861e-05/0.6114, allocations: 19.98 kB / 0.8727 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.6115, allocations: 151.2 kB / 0.8729 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002178/0.6137, allocations: 278.3 kB / 0.8731 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.854e-05/0.6138, allocations: 20.86 kB / 0.8732 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.6138, allocations: 0 / 0.8732 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.6138, allocations: 34.56 kB / 0.8732 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 2.425e-06/0.6139, allocations: 0 / 0.8732 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001512/0.614, allocations: 57.72 kB / 0.8733 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.6141, allocations: 51.41 kB / 0.8733 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6e-05/0.6141, allocations: 89 kB / 0.8734 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.6141, allocations: 25.7 kB / 0.8734 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.6142, allocations: 84.08 kB / 0.8735 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.6142, allocations: 23.72 kB / 0.8735 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.6142, allocations: 4.125 kB / 0.8735 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.6144, allocations: 314.8 kB / 0.8738 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.454e-05/0.6144, allocations: 8 kB / 0.8738 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.771e-05/0.6144, allocations: 4 kB / 0.8738 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.437e-05/0.6145, allocations: 15.94 kB / 0.8738 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6145, allocations: 0 / 0.8738 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.795e-05/0.6146, allocations: 57.64 kB / 0.8739 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.6146, allocations: 4 kB / 0.8739 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.6146, allocations: 0 / 0.8739 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.6146, allocations: 0 / 0.8739 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.867e-05/0.6147, allocations: 11.98 kB / 0.8739 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.6147, allocations: 0 / 0.8739 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.909e-05/0.6148, allocations: 7.906 kB / 0.8739 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.6148, allocations: 3.938 kB / 0.8739 GB, free: 12.07 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 7.386e-05/0.6149, allocations: 101 kB / 0.874 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.6149, allocations: 7.953 kB / 0.874 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.6149, allocations: 7.5 kB / 0.874 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.615, allocations: 0 / 0.874 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.615, allocations: 192 / 0.874 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.615, allocations: 4 kB / 0.874 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.6151, allocations: 157.7 kB / 0.8742 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.6151, allocations: 4 kB / 0.8742 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.251e-05/0.6152, allocations: 4 kB / 0.8742 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.6152, allocations: 3.984 kB / 0.8742 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.6152, allocations: 7.953 kB / 0.8742 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.6152, allocations: 0 / 0.8742 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6153, allocations: 0 / 0.8742 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.6154, allocations: 85.06 kB / 0.8743 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.247e-05/0.6155, allocations: 81.05 kB / 0.8744 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.6155, allocations: 0 / 0.8744 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.928e-05/0.6155, allocations: 7.953 kB / 0.8744 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.6156, allocations: 3.984 kB / 0.8744 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.6156, allocations: 0 / 0.8744 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.908e-05/0.6156, allocations: 83.28 kB / 0.8745 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6156, allocations: 0 / 0.8745 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002046/0.6159, allocations: 4 kB / 0.8745 GB, free: 11.43 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 (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 Backend phase and start with SimCode phase: time 0.0001441/0.616, allocations: 100.6 kB / 0.8746 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.6161, allocations: 24 kB / 0.8746 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.6161, allocations: 0 / 0.8746 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.74e-05/0.6162, allocations: 15.94 kB / 0.8746 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.6164, allocations: 11.98 kB / 0.8746 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002399/0.6166, allocations: 79.19 kB / 0.8747 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.6169, allocations: 0.6809 MB / 0.8754 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.082e-05/0.617, allocations: 0 / 0.8754 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.617, allocations: 11.44 kB / 0.8754 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of SimCode: time 3.81e-07/0.617, allocations: 4 kB / 0.8754 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of Templates: time 0.002159/0.6192, allocations: 486.2 kB / 0.8758 GB, free: 9.984 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)