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.001031/0.001031, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.313/1.313, allocations: 205.1 MB / 222.4 MB, free: 4.625 MB / 174.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.668/1.668, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001427/0.001427, allocations: 66.56 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2123, allocations: 114.6 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002389/0.2148, allocations: 1.259 MB / 0.7846 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005507/0.2154, allocations: 291.1 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.439e-05/0.2154, allocations: 0 / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.857e-05/0.2154, allocations: 7.938 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.669e-05/0.2155, allocations: 4 kB / 0.7849 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.2158, allocations: 47.75 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.773e-05/0.2158, allocations: 15.88 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.987e-05/0.2159, allocations: 7.984 kB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.844e-05/0.2159, allocations: 11.98 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.461e-05/0.216, allocations: 7.938 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.216, allocations: 0 / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.2161, allocations: 55.95 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.2162, allocations: 4 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.2162, allocations: 11.92 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.2163, allocations: 48.17 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2164, allocations: 3.938 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2164, allocations: 0 / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2164, allocations: 4 kB / 0.7851 GB, free: 11.71 MB / 0.6075 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.000384/0.2168, allocations: 331.5 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.2168, allocations: 12.03 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.217, allocations: 24.83 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.2172, allocations: 164.4 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.2172, allocations: 384 / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.2172, allocations: 384 / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.2174, allocations: 42.25 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.2174, allocations: 8.062 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.2174, allocations: 7.938 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.2174, allocations: 4 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.191e-05/0.2175, allocations: 15.98 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002153/0.2177, allocations: 157.7 kB / 0.7858 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/0.2196, allocations: 270.4 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.527e-05/0.2197, allocations: 20.86 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.2197, allocations: 0 / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.2198, allocations: 34.5 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.644e-06/0.2198, allocations: 0 / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001837/0.2199, allocations: 65.62 kB / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.22, allocations: 51.41 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.705e-05/0.2201, allocations: 97.84 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.2201, allocations: 29.83 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.2201, allocations: 80.14 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.2202, allocations: 11.81 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.2202, allocations: 13.72 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.845e-05/0.2203, allocations: 314.8 kB / 0.7868 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.113e-05/0.2203, allocations: 7.984 kB / 0.7868 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.88e-05/0.2203, allocations: 12 kB / 0.7868 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.715e-05/0.2204, allocations: 29.06 kB / 0.7868 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2204, allocations: 4 kB / 0.7868 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.988e-05/0.2205, allocations: 53.69 kB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2205, allocations: 8 kB / 0.7869 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.2205, allocations: 3.938 kB / 0.7869 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2205, allocations: 0 / 0.7869 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.79e-05/0.2206, allocations: 4 kB / 0.7869 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.2206, allocations: 3.984 kB / 0.7869 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.002e-05/0.2207, allocations: 4 kB / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.2207, allocations: 4 kB / 0.7869 GB, free: 9.629 MB / 0.6075 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 6.673e-05/0.2207, allocations: 114.4 kB / 0.787 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.2208, allocations: 4 kB / 0.787 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.491e-05/0.2208, allocations: 15.38 kB / 0.787 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2208, allocations: 0 / 0.787 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2208, allocations: 3.938 kB / 0.787 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2208, allocations: 0 / 0.787 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.2209, allocations: 161.6 kB / 0.7872 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2209, allocations: 0 / 0.7872 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.221, allocations: 8 kB / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.221, allocations: 0 / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.221, allocations: 3.938 kB / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.221, allocations: 7.984 kB / 0.7872 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.221, allocations: 0 / 0.7872 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.2211, allocations: 81.03 kB / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.2212, allocations: 81.11 kB / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.2212, allocations: 3.938 kB / 0.7874 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.153e-05/0.2213, allocations: 0 / 0.7874 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.2213, allocations: 11.92 kB / 0.7874 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.2213, allocations: 4 kB / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.549e-05/0.2214, allocations: 83.28 kB / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2214, allocations: 0 / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001951/0.2216, allocations: 8 kB / 0.7875 GB, free: 8.945 MB / 0.6075 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.0001098/0.2217, allocations: 95.25 kB / 0.7876 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.2218, allocations: 27.98 kB / 0.7876 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2218, allocations: 0 / 0.7876 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.155e-05/0.2218, allocations: 15.94 kB / 0.7876 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.2221, allocations: 12.86 kB / 0.7876 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.2224, allocations: 126.6 kB / 0.7877 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.2227, allocations: 0.6729 MB / 0.7884 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.758e-05/0.2227, allocations: 4 kB / 0.7884 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.2228, allocations: 7.438 kB / 0.7884 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2228, allocations: 4 kB / 0.7884 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of Templates: time 0.002416/0.2252, allocations: 0.5148 MB / 0.7889 GB, free: 7.414 MB / 0.6075 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)