Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 105.5 kB / 16.27 MB, free: 5.984 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.001257/0.001257, allocations: 193.3 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.831/1.831, allocations: 292.3 MB / 0.5495 GB, free: 17.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 79.81 kB / 0.6722 GB, free: 6.609 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2754, allocations: 114.5 MB / 0.784 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002603/0.278, allocations: 1.26 MB / 0.7853 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006114/0.2787, allocations: 291.1 kB / 0.7855 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.322e-05/0.2787, allocations: 0 / 0.7855 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.066e-05/0.2788, allocations: 8 kB / 0.7855 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.913e-05/0.2788, allocations: 7.922 kB / 0.7855 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.2792, allocations: 43.75 kB / 0.7856 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.433e-05/0.2792, allocations: 19.92 kB / 0.7856 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.085e-05/0.2793, allocations: 4 kB / 0.7856 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.08e-05/0.2793, allocations: 7.938 kB / 0.7856 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.219e-05/0.2794, allocations: 4 kB / 0.7856 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.2794, allocations: 3.938 kB / 0.7856 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.2796, allocations: 67.88 kB / 0.7857 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.2796, allocations: 4 kB / 0.7857 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.2796, allocations: 11.92 kB / 0.7857 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.2798, allocations: 40.19 kB / 0.7857 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2798, allocations: 0 / 0.7857 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.645e-06/0.2798, allocations: 0 / 0.7857 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.2798, allocations: 4 kB / 0.7858 GB, free: 2.168 MB / 0.6544 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.0004606/0.2803, allocations: 331.5 kB / 0.7861 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.2803, allocations: 15.97 kB / 0.7861 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002544/0.2806, allocations: 24.91 kB / 0.7861 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.2807, allocations: 160.4 kB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.2807, allocations: 4.375 kB / 0.7863 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.2807, allocations: 384 / 0.7863 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.2809, allocations: 42.25 kB / 0.7863 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.2809, allocations: 192 / 0.7863 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.2809, allocations: 7.922 kB / 0.7863 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.2809, allocations: 4 kB / 0.7863 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.622e-05/0.281, allocations: 19.92 kB / 0.7863 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.2812, allocations: 161.6 kB / 0.7865 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.283, allocations: 266.5 kB / 0.7867 GB, free: 1 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.911e-05/0.283, allocations: 20.86 kB / 0.7868 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.2831, allocations: 0 / 0.7868 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.2831, allocations: 38.55 kB / 0.7868 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.2831, allocations: 0 / 0.7868 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0001849/0.2833, allocations: 65.56 kB / 0.7869 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.2833, allocations: 51.41 kB / 0.7869 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.092e-05/0.2834, allocations: 97.95 kB / 0.787 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.2834, allocations: 29.73 kB / 0.787 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.91e-05/0.2835, allocations: 80.14 kB / 0.7871 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.2835, allocations: 11.8 kB / 0.7871 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/0.2836, allocations: 21.7 kB / 0.7871 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.2837, allocations: 310.8 kB / 0.7874 GB, free: 228 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.22e-05/0.2837, allocations: 8 kB / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.782e-05/0.2838, allocations: 8 kB / 0.7875 GB, free: 212 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.166e-05/0.2838, allocations: 28.84 kB / 0.7875 GB, free: 180 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2838, allocations: 11.94 kB / 0.7875 GB, free: 168 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.427e-05/0.2839, allocations: 45.7 kB / 0.7875 GB, free: 116 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.2839, allocations: 11.98 kB / 0.7875 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2839, allocations: 3.938 kB / 0.7876 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.284, allocations: 0 / 0.7876 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.683e-05/0.284, allocations: 4 kB / 0.7876 GB, free: 96 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.284, allocations: 0 / 0.7876 GB, free: 96 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.006e-05/0.2841, allocations: 11.88 kB / 0.7876 GB, free: 84 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.2841, allocations: 4 kB / 0.7876 GB, free: 80 kB / 0.6544 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 0.444/0.7281, allocations: 106.7 kB / 0.7877 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.7282, allocations: 1.344 kB / 0.7877 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.104e-05/0.7282, allocations: 14.12 kB / 0.7877 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.7282, allocations: 0.7812 kB / 0.7877 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.7282, allocations: 0.5156 kB / 0.7877 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.7282, allocations: 0.5938 kB / 0.7877 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.7284, allocations: 160.3 kB / 0.7878 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.7284, allocations: 1.172 kB / 0.7878 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.203e-05/0.7285, allocations: 10.08 kB / 0.7879 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.7285, allocations: 0.9688 kB / 0.7879 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.7285, allocations: 0 / 0.7879 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.7285, allocations: 3.406 kB / 0.7879 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.7285, allocations: 0 / 0.7879 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.7286, allocations: 85.53 kB / 0.7879 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.7287, allocations: 80.48 kB / 0.788 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.7287, allocations: 8.281 kB / 0.788 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.821e-05/0.7288, allocations: 0 / 0.788 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.7288, allocations: 8.578 kB / 0.788 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.7288, allocations: 3.609 kB / 0.788 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.415e-05/0.7289, allocations: 76.72 kB / 0.7881 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7289, allocations: 0 / 0.7881 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002469/0.7291, allocations: 6.844 kB / 0.7881 GB, free: 48.16 MB / 0.6544 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 (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 0.0001207/0.7292, allocations: 105.1 kB / 0.7882 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001204/0.7294, allocations: 27.88 kB / 0.7882 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.7294, allocations: 2.875 kB / 0.7882 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.951e-05/0.7294, allocations: 11.31 kB / 0.7883 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.7297, allocations: 10.27 kB / 0.7883 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003165/0.7301, allocations: 146.9 kB / 0.7884 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.926e-05/0.7302, allocations: 0.677 MB / 0.7891 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.7302, allocations: 9.938 kB / 0.7891 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of SimCode: time 7.21e-07/0.7302, allocations: 0 / 0.7891 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.001639/0.7318, allocations: 0.5287 MB / 0.7896 GB, free: 47.25 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)