Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005661/0.005661, allocations: 101.1 kB / 15.73 MB, free: 5.992 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.001262/0.001262, allocations: 194.5 kB / 16.67 MB, free: 5.93 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.231/1.231, allocations: 205.1 MB / 222.5 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.353/1.353, allocations: 251.7 MB / 0.5094 GB, free: 3.004 MB / 414.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.001323/0.001323, allocations: 71.89 kB / 0.7258 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1982, allocations: 104.7 MB / 0.828 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002296/0.2005, allocations: 1.486 MB / 0.8295 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.2017, allocations: 0.8193 MB / 0.8303 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.2017, allocations: 4 kB / 0.8303 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.148e-05/0.2018, allocations: 3.938 kB / 0.8303 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.024e-05/0.2018, allocations: 11.88 kB / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.2022, allocations: 127.5 kB / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.2024, allocations: 55.77 kB / 0.8305 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.2025, allocations: 16 kB / 0.8305 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.28e-05/0.2025, allocations: 19.92 kB / 0.8305 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.134e-05/0.2026, allocations: 27.91 kB / 0.8305 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.2026, allocations: 8 kB / 0.8305 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002961/0.2029, allocations: 167.8 kB / 0.8307 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.2029, allocations: 7.938 kB / 0.8307 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.203, allocations: 27.86 kB / 0.8307 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.2032, allocations: 151.6 kB / 0.8309 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2032, allocations: 0 / 0.8309 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2032, allocations: 0 / 0.8309 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2032, allocations: 0 / 0.8309 GB, free: 13.24 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005463/0.2038, allocations: 391.3 kB / 0.8312 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.2038, allocations: 12.03 kB / 0.8313 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.2039, allocations: 8.844 kB / 0.8313 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.204, allocations: 172.2 kB / 0.8314 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.204, allocations: 8.375 kB / 0.8314 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.204, allocations: 384 / 0.8314 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.2043, allocations: 74.16 kB / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2043, allocations: 4.172 kB / 0.8315 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.2043, allocations: 11.92 kB / 0.8315 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2043, allocations: 4 kB / 0.8315 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.2046, allocations: 63.94 kB / 0.8316 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.205, allocations: 280.8 kB / 0.8319 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.2052, allocations: 62.47 kB / 0.8319 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.2053, allocations: 36.92 kB / 0.832 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001657/0.2055, allocations: 89.09 kB / 0.832 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.2055, allocations: 34.55 kB / 0.8321 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.2055, allocations: 4 kB / 0.8321 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005262/0.2061, allocations: 133.4 kB / 0.8322 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.2061, allocations: 51.41 kB / 0.8323 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.762e-05/0.2062, allocations: 125.6 kB / 0.8324 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.2062, allocations: 29.64 kB / 0.8324 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.179e-05/0.2063, allocations: 96.14 kB / 0.8325 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.2063, allocations: 7.812 kB / 0.8325 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.2063, allocations: 13.72 kB / 0.8325 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.514e-05/0.2064, allocations: 326.8 kB / 0.8328 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.2066, allocations: 27.97 kB / 0.8329 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.2067, allocations: 35.95 kB / 0.8329 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.207, allocations: 68.78 kB / 0.833 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.207, allocations: 0 / 0.833 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002961/0.2073, allocations: 93.62 kB / 0.833 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.2073, allocations: 12 kB / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2073, allocations: 0 / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2073, allocations: 0 / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.2075, allocations: 15.92 kB / 0.8331 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.2075, allocations: 4 kB / 0.8331 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.658e-05/0.2076, allocations: 15.92 kB / 0.8331 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.2076, allocations: 7.984 kB / 0.8331 GB, free: 10.72 MB / 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 (3): * Single equations (assignments): 3 * 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.676e-05/0.2076, allocations: 117.8 kB / 0.8332 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.2077, allocations: 7.906 kB / 0.8332 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000335/0.208, allocations: 105.5 kB / 0.8333 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.208, allocations: 0 / 0.8333 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.208, allocations: 0 / 0.8333 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.208, allocations: 0 / 0.8333 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.2082, allocations: 174 kB / 0.8335 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2082, allocations: 4 kB / 0.8335 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.872e-05/0.2083, allocations: 19.92 kB / 0.8335 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.2083, allocations: 0 / 0.8335 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.2083, allocations: 0 / 0.8335 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2083, allocations: 0 / 0.8335 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2083, allocations: 4 kB / 0.8335 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.2087, allocations: 207.3 kB / 0.8337 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.2087, allocations: 77.11 kB / 0.8338 GB, free: 9.918 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.2087, allocations: 4 kB / 0.8338 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.932e-05/0.2088, allocations: 7.984 kB / 0.8338 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.2089, allocations: 7.984 kB / 0.8338 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.2089, allocations: 4 kB / 0.8338 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.124e-05/0.2089, allocations: 95.2 kB / 0.8339 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2089, allocations: 4 kB / 0.8339 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000245/0.2092, allocations: 32 kB / 0.8339 GB, free: 9.766 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 (3): * Single equations (assignments): 3 * 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.0001806/0.2094, allocations: 139.1 kB / 0.8341 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003295/0.2097, allocations: 67.92 kB / 0.8341 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2097, allocations: 0 / 0.8341 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.2099, allocations: 39.97 kB / 0.8342 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.2102, allocations: 15.92 kB / 0.8342 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.2104, allocations: 151.1 kB / 0.8343 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.2106, allocations: 0.6883 MB / 0.835 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.955e-05/0.2107, allocations: 8 kB / 0.835 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.2107, allocations: 7.438 kB / 0.835 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of SimCode: time 1.9e-07/0.2107, allocations: 0 / 0.835 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of Templates: time 0.003337/0.2141, allocations: 1.375 MB / 0.8363 GB, free: 7.23 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)