Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.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 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.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 106.2 kB / 15.99 MB, free: 5.914 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.001098/0.001098, allocations: 192.5 kB / 16.91 MB, free: 5.758 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.444/1.444, allocations: 205.1 MB / 222.8 MB, free: 4.559 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.673/1.673, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.001866/0.001866, allocations: 67.39 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2452, allocations: 114.6 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002198/0.2474, allocations: 1.336 MB / 0.7848 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.2486, allocations: 0.8283 MB / 0.7856 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.631e-05/0.2486, allocations: 0 / 0.7856 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.2486, allocations: 0 / 0.7856 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.941e-05/0.2487, allocations: 15.84 kB / 0.7856 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.2491, allocations: 111.6 kB / 0.7858 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.37e-05/0.2492, allocations: 19.92 kB / 0.7858 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.2493, allocations: 7.984 kB / 0.7858 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.693e-05/0.2493, allocations: 15.94 kB / 0.7858 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.251e-05/0.2494, allocations: 19.91 kB / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.2494, allocations: 0 / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.2497, allocations: 171.7 kB / 0.786 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.2497, allocations: 7.969 kB / 0.786 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.2497, allocations: 15.94 kB / 0.786 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.2499, allocations: 76.14 kB / 0.7861 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2499, allocations: 3.984 kB / 0.7861 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2499, allocations: 0 / 0.7861 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.2499, allocations: 3.938 kB / 0.7861 GB, free: 11.27 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.0004102/0.2503, allocations: 363.4 kB / 0.7864 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.2504, allocations: 11.97 kB / 0.7864 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.2504, allocations: 4.938 kB / 0.7864 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.2505, allocations: 164.4 kB / 0.7866 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.43e-05/0.2506, allocations: 34.27 kB / 0.7866 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.066e-06/0.2506, allocations: 384 / 0.7866 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.2507, allocations: 42.25 kB / 0.7867 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.2508, allocations: 3.938 kB / 0.7867 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.2508, allocations: 4 kB / 0.7867 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.2508, allocations: 4 kB / 0.7867 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.553e-05/0.2509, allocations: 19.92 kB / 0.7867 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.251, allocations: 157.7 kB / 0.7869 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.2512, allocations: 42.61 kB / 0.7869 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.816e-05/0.2513, allocations: 16.94 kB / 0.7869 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002789/0.2516, allocations: 186.2 kB / 0.7871 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.2516, allocations: 30.56 kB / 0.7871 GB, free: 10 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2516, allocations: 0 / 0.7871 GB, free: 10 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002369/0.2519, allocations: 77.45 kB / 0.7872 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.2519, allocations: 51.41 kB / 0.7872 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.428e-05/0.252, allocations: 101.8 kB / 0.7873 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.252, allocations: 25.7 kB / 0.7874 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.474e-05/0.2521, allocations: 88.14 kB / 0.7874 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.2521, allocations: 11.83 kB / 0.7875 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.2521, allocations: 17.72 kB / 0.7875 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.2522, allocations: 310.8 kB / 0.7878 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.858e-05/0.2523, allocations: 11.98 kB / 0.7878 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.921e-05/0.2523, allocations: 8 kB / 0.7878 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.803e-05/0.2524, allocations: 33.25 kB / 0.7878 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2524, allocations: 0 / 0.7878 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001395/0.2526, allocations: 65.58 kB / 0.7879 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2526, allocations: 7.938 kB / 0.7879 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.2526, allocations: 0 / 0.7879 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.2526, allocations: 4.031 kB / 0.7879 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.034e-05/0.2527, allocations: 8 kB / 0.7879 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2527, allocations: 0 / 0.7879 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.013e-05/0.2527, allocations: 3.984 kB / 0.7879 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.2527, allocations: 8 kB / 0.7879 GB, free: 9.125 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.638e-05/0.2528, allocations: 113.8 kB / 0.788 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.2528, allocations: 7.938 kB / 0.788 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.253, allocations: 65.11 kB / 0.7881 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.253, allocations: 0 / 0.7881 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.253, allocations: 7.938 kB / 0.7881 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.253, allocations: 0 / 0.7881 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.2531, allocations: 153.7 kB / 0.7882 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.2532, allocations: 4 kB / 0.7882 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.651e-05/0.2532, allocations: 11.98 kB / 0.7883 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2532, allocations: 3.938 kB / 0.7883 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.2532, allocations: 0 / 0.7883 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2532, allocations: 4 kB / 0.7883 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2532, allocations: 0 / 0.7883 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.2534, allocations: 88.95 kB / 0.7884 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.2535, allocations: 89.11 kB / 0.7884 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.2535, allocations: 3.938 kB / 0.7884 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.779e-05/0.2535, allocations: 0 / 0.7884 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.2536, allocations: 7.984 kB / 0.7884 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.2536, allocations: 0 / 0.7884 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.153e-05/0.2536, allocations: 79.28 kB / 0.7885 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2536, allocations: 0 / 0.7885 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002253/0.2539, allocations: 43.92 kB / 0.7886 GB, free: 8.344 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.0002143/0.2541, allocations: 127.2 kB / 0.7887 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000145/0.2542, allocations: 31.91 kB / 0.7887 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2542, allocations: 0 / 0.7887 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.732e-05/0.2543, allocations: 16 kB / 0.7887 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.2545, allocations: 11.98 kB / 0.7887 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.2548, allocations: 164.8 kB / 0.7889 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.2551, allocations: 0.6807 MB / 0.7896 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.125e-05/0.2551, allocations: 11.38 kB / 0.7896 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2551, allocations: 0 / 0.7896 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of Templates: time 0.002088/0.2572, allocations: 0.9874 MB / 0.7905 GB, free: 6.25 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)