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.7883/0.7883, allocations: 143.4 MB / 159.2 MB, free: 4.898 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.00137/0.00137, allocations: 187.5 kB / 191.9 MB, free: 5.73 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.438/1.438, allocations: 222.9 MB / 447.3 MB, free: 5.824 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.001115/0.001115, allocations: 107.5 kB / 0.517 GB, free: 3.695 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001832/0.001832, allocations: 285 kB / 0.5973 GB, free: 49.35 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 79.88 kB / 0.6885 GB, free: 3.809 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3556, allocations: 81.29 MB / 0.7679 GB, free: 27.63 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002201/0.3578, allocations: 1.326 MB / 0.7692 GB, free: 26.3 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005099/0.3584, allocations: 304.8 kB / 0.7695 GB, free: 26.01 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.45e-05/0.3584, allocations: 0 / 0.7695 GB, free: 26.01 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.316e-05/0.3584, allocations: 3.984 kB / 0.7695 GB, free: 26.01 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.421e-05/0.3585, allocations: 3.938 kB / 0.7695 GB, free: 26 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.3587, allocations: 39.81 kB / 0.7696 GB, free: 25.96 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.866e-05/0.3588, allocations: 19.88 kB / 0.7696 GB, free: 25.95 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.99e-05/0.3588, allocations: 4 kB / 0.7696 GB, free: 25.94 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.144e-05/0.3588, allocations: 7.984 kB / 0.7696 GB, free: 25.93 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.146e-05/0.3589, allocations: 7.938 kB / 0.7696 GB, free: 25.93 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.3589, allocations: 0 / 0.7696 GB, free: 25.93 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.359, allocations: 55.95 kB / 0.7696 GB, free: 25.87 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.3591, allocations: 11.98 kB / 0.7697 GB, free: 25.86 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.3591, allocations: 4 kB / 0.7697 GB, free: 25.86 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.3592, allocations: 50.55 kB / 0.7697 GB, free: 25.81 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3592, allocations: 0 / 0.7697 GB, free: 25.81 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3592, allocations: 0 / 0.7697 GB, free: 25.81 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.676e-06/0.3592, allocations: 0 / 0.7697 GB, free: 25.81 MB / 458.7 MB 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.0003136/0.3595, allocations: 339.5 kB / 0.77 GB, free: 25.43 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.3596, allocations: 8.031 kB / 0.77 GB, free: 25.42 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.3598, allocations: 16.92 kB / 0.7701 GB, free: 25.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.994e-05/0.3599, allocations: 168.3 kB / 0.7702 GB, free: 25.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.635e-06/0.3599, allocations: 4.375 kB / 0.7702 GB, free: 25.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.3599, allocations: 4.375 kB / 0.7702 GB, free: 25.19 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.786e-05/0.36, allocations: 42.25 kB / 0.7703 GB, free: 25.14 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.026e-06/0.36, allocations: 4.188 kB / 0.7703 GB, free: 25.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.36, allocations: 3.938 kB / 0.7703 GB, free: 25.14 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.36, allocations: 0 / 0.7703 GB, free: 25.14 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.174e-05/0.3601, allocations: 15.98 kB / 0.7703 GB, free: 25.12 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001072/0.3602, allocations: 153.6 kB / 0.7704 GB, free: 24.92 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.3619, allocations: 282.3 kB / 0.7707 GB, free: 24.64 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.597e-05/0.362, allocations: 16.86 kB / 0.7707 GB, free: 24.62 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.362, allocations: 0 / 0.7707 GB, free: 24.62 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.362, allocations: 34.56 kB / 0.7708 GB, free: 24.57 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.362, allocations: 4 kB / 0.7708 GB, free: 24.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001458/0.3622, allocations: 69.55 kB / 0.7708 GB, free: 24.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.3622, allocations: 55.41 kB / 0.7709 GB, free: 24.43 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.721e-05/0.3622, allocations: 97.84 kB / 0.771 GB, free: 24.32 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.944e-06/0.3623, allocations: 25.7 kB / 0.771 GB, free: 24.29 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.507e-06/0.3623, allocations: 80.14 kB / 0.7711 GB, free: 24.21 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.3623, allocations: 11.84 kB / 0.7711 GB, free: 24.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.3623, allocations: 17.62 kB / 0.7711 GB, free: 24.18 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.561e-05/0.3624, allocations: 315 kB / 0.7714 GB, free: 23.86 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.996e-05/0.3624, allocations: 15.98 kB / 0.7714 GB, free: 23.84 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.446e-05/0.3624, allocations: 4 kB / 0.7714 GB, free: 23.84 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.853e-05/0.3625, allocations: 28.86 kB / 0.7714 GB, free: 23.81 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3625, allocations: 0 / 0.7714 GB, free: 23.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.391e-05/0.3625, allocations: 57.62 kB / 0.7715 GB, free: 23.75 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.3626, allocations: 7.938 kB / 0.7715 GB, free: 23.74 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3626, allocations: 7.938 kB / 0.7715 GB, free: 23.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3626, allocations: 0 / 0.7715 GB, free: 23.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.275e-05/0.3627, allocations: 8 kB / 0.7715 GB, free: 23.72 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3627, allocations: 0 / 0.7715 GB, free: 23.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.76e-05/0.3627, allocations: 7.984 kB / 0.7715 GB, free: 23.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.3627, allocations: 0 / 0.7715 GB, free: 23.71 MB / 458.7 MB 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 4.607e-05/0.3628, allocations: 112 kB / 0.7716 GB, free: 23.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.3628, allocations: 0 / 0.7716 GB, free: 23.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.3628, allocations: 11.44 kB / 0.7717 GB, free: 23.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.3628, allocations: 0 / 0.7717 GB, free: 23.59 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3628, allocations: 0 / 0.7717 GB, free: 23.59 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3628, allocations: 0 / 0.7717 GB, free: 23.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.279e-05/0.3629, allocations: 161.7 kB / 0.7718 GB, free: 23.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3629, allocations: 4 kB / 0.7718 GB, free: 23.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.3629, allocations: 4 kB / 0.7718 GB, free: 23.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3629, allocations: 3.938 kB / 0.7718 GB, free: 23.37 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.363, allocations: 3.938 kB / 0.7718 GB, free: 23.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.363, allocations: 7.984 kB / 0.7718 GB, free: 23.36 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.363, allocations: 0 / 0.7718 GB, free: 23.36 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.3632, allocations: 0.6356 MB / 0.7724 GB, free: 22.66 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.217e-05/0.3633, allocations: 85.02 kB / 0.7725 GB, free: 22.56 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.3633, allocations: 0 / 0.7725 GB, free: 22.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.053e-05/0.3633, allocations: 0 / 0.7725 GB, free: 22.56 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.3633, allocations: 0 / 0.7725 GB, free: 22.56 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.3634, allocations: 11.98 kB / 0.7725 GB, free: 22.55 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.561e-05/0.3634, allocations: 75.28 kB / 0.7726 GB, free: 22.47 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3634, allocations: 0 / 0.7726 GB, free: 22.47 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002687/0.3637, allocations: 8 kB / 0.7726 GB, free: 22.46 MB / 458.7 MB 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 (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 Backend phase and start with SimCode phase: time 7.916e-05/0.3637, allocations: 99.34 kB / 0.7727 GB, free: 22.36 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.659e-05/0.3638, allocations: 28.36 kB / 0.7727 GB, free: 22.33 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3638, allocations: 0 / 0.7727 GB, free: 22.33 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.828e-05/0.3639, allocations: 15.94 kB / 0.7728 GB, free: 22.31 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.3641, allocations: 15.34 kB / 0.7728 GB, free: 22.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.3644, allocations: 243.4 kB / 0.773 GB, free: 22.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.498e-05/0.3645, allocations: 0.6809 MB / 0.7737 GB, free: 21.32 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.017e-05/0.3646, allocations: 7.984 kB / 0.7737 GB, free: 21.31 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.3646, allocations: 7.438 kB / 0.7737 GB, free: 21.3 MB / 458.7 MB Notification: Performance of SimCode: time 2.01e-07/0.3646, allocations: 7.938 kB / 0.7737 GB, free: 21.29 MB / 458.7 MB Notification: Performance of Templates: time 0.001981/0.3666, allocations: 0.5055 MB / 0.7742 GB, free: 20.79 MB / 458.7 MB 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)