Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.055/2.055, allocations: 391.2 MB / 407 MB, free: 10.86 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.0012/0.001201, allocations: 187.4 kB / 499.1 MB, free: 4.684 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.325/1.325, allocations: 222.9 MB / 0.7948 GB, free: 15.82 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.0009842/0.0009842, allocations: 99.64 kB / 0.9329 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 52.05 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2171, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002075/0.2192, allocations: 1.329 MB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009862/0.2202, allocations: 0.8507 MB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.319e-05/0.2202, allocations: 0 / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.491e-05/0.2203, allocations: 0 / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.429e-05/0.2203, allocations: 7.922 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.2207, allocations: 111.6 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.363e-05/0.2207, allocations: 27.86 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.2208, allocations: 7.984 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 2.753e-05/0.2208, allocations: 7.938 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.677e-05/0.2209, allocations: 11.98 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.2209, allocations: 7.938 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.2211, allocations: 171.7 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.2211, allocations: 0 / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.2212, allocations: 19.92 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.2214, allocations: 117.8 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2214, allocations: 0 / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2214, allocations: 0 / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.2214, allocations: 3.938 kB / 1.221 GB, free: 114.6 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.0003208/0.2217, allocations: 359.5 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.2218, allocations: 15.98 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.2218, allocations: 0.9375 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.618e-05/0.2219, allocations: 164.4 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.438e-05/0.2219, allocations: 34.27 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.2219, allocations: 8.312 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.2221, allocations: 42.25 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2221, allocations: 3.938 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.2221, allocations: 3.984 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.2221, allocations: 0 / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.211e-05/0.2222, allocations: 19.98 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001008/0.2223, allocations: 161.6 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.2224, allocations: 50.59 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.2225, allocations: 12.86 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002001/0.2227, allocations: 178.3 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.233e-05/0.2227, allocations: 38.56 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2227, allocations: 0 / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001926/0.2229, allocations: 73.45 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.553e-05/0.223, allocations: 55.41 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.01e-05/0.223, allocations: 101.8 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.223, allocations: 25.7 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.829e-06/0.223, allocations: 80.14 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.2231, allocations: 11.84 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.2231, allocations: 17.72 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 3.487e-05/0.2231, allocations: 314.8 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.165e-05/0.2232, allocations: 12 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.52e-05/0.2232, allocations: 7.984 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.821e-05/0.2233, allocations: 32.84 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2233, allocations: 0 / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001056/0.2234, allocations: 57.53 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.2234, allocations: 13.19 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2234, allocations: 0 / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.2235, allocations: 4 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.499e-05/0.2235, allocations: 15.98 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.2235, allocations: 3.938 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.725e-05/0.2235, allocations: 4 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.2236, allocations: 0 / 1.223 GB, free: 112.4 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 4.295e-05/0.2236, allocations: 106.5 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.2236, allocations: 7.938 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.2238, allocations: 73.11 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2238, allocations: 0.5625 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.2238, allocations: 3.938 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2238, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.238e-05/0.2239, allocations: 157.7 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2239, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.951e-05/0.2239, allocations: 11.98 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2239, allocations: 3.938 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.2239, allocations: 3.984 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2239, allocations: 4 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.2239, allocations: 4 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.2242, allocations: 0.6395 MB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.2242, allocations: 81.11 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.2242, allocations: 3.984 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.235e-05/0.2243, allocations: 4 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.2243, allocations: 4 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.2243, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.716e-05/0.2243, allocations: 87.27 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2244, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002892/0.2246, allocations: 35.94 kB / 1.224 GB, free: 111.1 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 0.0001639/0.2248, allocations: 139.1 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.2249, allocations: 35.86 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2249, allocations: 0 / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.385e-05/0.225, allocations: 15.98 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.2252, allocations: 8 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002367/0.2254, allocations: 239.7 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.123e-05/0.2255, allocations: 0.6809 MB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.946e-05/0.2256, allocations: 4 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.407e-05/0.2256, allocations: 11.44 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of SimCode: time 2.11e-07/0.2256, allocations: 0 / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of Templates: time 0.002417/0.228, allocations: 1.036 MB / 1.226 GB, free: 108.8 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)