Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.038/2.038, allocations: 391.2 MB / 407 MB, free: 10.83 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 183.5 kB / 499.1 MB, free: 4.668 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009755/0.0009756, allocations: 95.77 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001009/0.001009, allocations: 51.58 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2183, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001882/0.2202, allocations: 1.323 MB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.000435/0.2206, allocations: 299.1 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.085e-05/0.2207, allocations: 0 / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.465e-05/0.2207, allocations: 0 / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.803e-05/0.2207, allocations: 11.92 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.221, allocations: 43.83 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 3.969e-05/0.221, allocations: 15.92 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.11e-05/0.221, allocations: 4 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 2.73e-05/0.2211, allocations: 7.938 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.807e-05/0.2211, allocations: 11.98 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.2211, allocations: 3.938 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.45e-05/0.2212, allocations: 55.94 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.2212, allocations: 0 / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.019e-05/0.2213, allocations: 7.938 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.2214, allocations: 50.06 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2214, allocations: 4 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.51e-07/0.2214, allocations: 0 / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.2214, allocations: 0 / 1.22 GB, free: 115.4 MB / 0.823 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.0002777/0.2217, allocations: 343.5 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.2217, allocations: 15.98 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.2219, allocations: 12.92 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.948e-05/0.222, allocations: 168.3 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.222, allocations: 4.375 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-06/0.222, allocations: 384 / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.824e-05/0.2221, allocations: 42.25 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.2221, allocations: 192 / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.2221, allocations: 7.922 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2221, allocations: 0 / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.923e-05/0.2222, allocations: 19.94 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001021/0.2223, allocations: 161.6 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/0.2239, allocations: 262.5 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.394e-05/0.224, allocations: 28.84 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.224, allocations: 0 / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.372e-05/0.224, allocations: 34.56 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 7.22e-07/0.224, allocations: 0 / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001278/0.2241, allocations: 73.73 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.2242, allocations: 51.41 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.492e-05/0.2242, allocations: 93.86 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.863e-06/0.2242, allocations: 25.7 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.107e-06/0.2242, allocations: 80.14 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.2242, allocations: 15.75 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.2243, allocations: 21.83 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 3.905e-05/0.2243, allocations: 310.8 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.781e-05/0.2243, allocations: 8 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.495e-05/0.2244, allocations: 15.98 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.468e-05/0.2244, allocations: 20.86 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2244, allocations: 3.938 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.745e-05/0.2245, allocations: 53.69 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.2245, allocations: 8.781 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2245, allocations: 7.875 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.2245, allocations: 4 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.907e-05/0.2246, allocations: 4 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.2246, allocations: 0 / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.612e-05/0.2246, allocations: 4 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.2246, allocations: 4 kB / 1.222 GB, free: 113.3 MB / 0.823 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 3.917e-05/0.2247, allocations: 110.5 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-06/0.2247, allocations: 4 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.2247, allocations: 15.42 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2247, allocations: 4 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2247, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2247, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.579e-05/0.2248, allocations: 153.7 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2248, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.2248, allocations: 11.94 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.2248, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.2249, allocations: 3.938 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.2249, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2249, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.2251, allocations: 0.6395 MB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.2251, allocations: 81.09 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.2251, allocations: 4 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.812e-05/0.2252, allocations: 7.938 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.2252, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.2252, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.392e-05/0.2252, allocations: 83.28 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.2252, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002537/0.2255, allocations: 4 kB / 1.223 GB, free: 112 MB / 0.823 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 7.143e-05/0.2256, allocations: 95.25 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 7.15e-05/0.2257, allocations: 31.92 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2257, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.745e-05/0.2257, allocations: 15.98 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.2259, allocations: 12.03 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002625/0.2261, allocations: 247.6 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.267e-05/0.2262, allocations: 0.6731 MB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 4.371e-05/0.2263, allocations: 7.984 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.953e-05/0.2263, allocations: 11.44 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/0.2263, allocations: 0 / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of Templates: time 0.001809/0.2281, allocations: 0.5049 MB / 1.224 GB, free: 110.4 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)