Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.541/1.541, allocations: 292.3 MB / 308.1 MB, free: 4.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001264/0.001264, allocations: 183.4 kB / 376.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.1 MB / 0.6354 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008939/0.0008939, allocations: 98.8 kB / 0.748 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009687/0.0009687, allocations: 55.92 kB / 0.8703 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2419, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002993/0.2449, allocations: 1.553 MB / 0.9837 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.2463, allocations: 0.8312 MB / 0.9845 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.397e-05/0.2464, allocations: 0 / 0.9845 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.737e-05/0.2465, allocations: 0 / 0.9845 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.886e-05/0.2466, allocations: 11.88 kB / 0.9845 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004985/0.2471, allocations: 111.6 kB / 0.9847 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.659e-05/0.2472, allocations: 55.72 kB / 0.9847 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.2473, allocations: 15.98 kB / 0.9847 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.98e-05/0.2473, allocations: 19.92 kB / 0.9847 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.481e-05/0.2474, allocations: 23.92 kB / 0.9848 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.2474, allocations: 4 kB / 0.9848 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003721/0.2478, allocations: 175.7 kB / 0.9849 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/0.2478, allocations: 11.92 kB / 0.9849 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.2479, allocations: 19.86 kB / 0.985 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.2482, allocations: 151.9 kB / 0.9851 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2482, allocations: 0 / 0.9851 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.71e-07/0.2482, allocations: 3.938 kB / 0.9851 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.2482, allocations: 0 / 0.9851 GB, free: 7.395 MB / 0.7136 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.0005501/0.2488, allocations: 395.2 kB / 0.9855 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2488, allocations: 15.97 kB / 0.9855 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.2489, allocations: 4.844 kB / 0.9855 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.249, allocations: 172.3 kB / 0.9857 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.249, allocations: 384 / 0.9857 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.249, allocations: 4.375 kB / 0.9857 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.2493, allocations: 74.2 kB / 0.9858 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2493, allocations: 4.188 kB / 0.9858 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.2493, allocations: 3.938 kB / 0.9858 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2493, allocations: 0 / 0.9858 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/0.2496, allocations: 71.92 kB / 0.9858 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.25, allocations: 296.6 kB / 0.9861 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.2502, allocations: 58.53 kB / 0.9862 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.2504, allocations: 36.92 kB / 0.9862 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/0.2506, allocations: 89.09 kB / 0.9863 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.2506, allocations: 34.56 kB / 0.9863 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2506, allocations: 0 / 0.9863 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0005164/0.2511, allocations: 133.4 kB / 0.9864 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.2512, allocations: 55.41 kB / 0.9865 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.1e-05/0.2513, allocations: 117.8 kB / 0.9866 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.2513, allocations: 25.7 kB / 0.9866 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/0.2513, allocations: 96.12 kB / 0.9867 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.2514, allocations: 3.906 kB / 0.9867 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.2514, allocations: 13.72 kB / 0.9867 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.2515, allocations: 318.8 kB / 0.987 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.2517, allocations: 35.95 kB / 0.9871 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.2518, allocations: 31.97 kB / 0.9871 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.2521, allocations: 68.78 kB / 0.9872 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2521, allocations: 0 / 0.9872 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003047/0.2524, allocations: 105.5 kB / 0.9873 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2524, allocations: 4 kB / 0.9873 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2524, allocations: 0 / 0.9873 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2524, allocations: 7.984 kB / 0.9873 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.2526, allocations: 12.31 kB / 0.9873 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.2526, allocations: 3.938 kB / 0.9873 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.574e-05/0.2527, allocations: 11.98 kB / 0.9873 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.2527, allocations: 7.938 kB / 0.9873 GB, free: 4.883 MB / 0.7136 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.911e-05/0.2528, allocations: 121.8 kB / 0.9874 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.2528, allocations: 7.906 kB / 0.9875 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/0.2531, allocations: 109.4 kB / 0.9876 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2532, allocations: 7.984 kB / 0.9876 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2532, allocations: 0 / 0.9876 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2532, allocations: 4 kB / 0.9876 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.2533, allocations: 173.5 kB / 0.9877 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2534, allocations: 0 / 0.9877 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.039e-05/0.2534, allocations: 19.97 kB / 0.9878 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2535, allocations: 0 / 0.9878 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.2535, allocations: 0 / 0.9878 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2535, allocations: 4 kB / 0.9878 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2535, allocations: 0 / 0.9878 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007305/0.2542, allocations: 0.7824 MB / 0.9885 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.2543, allocations: 81.11 kB / 0.9886 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.2543, allocations: 0 / 0.9886 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.2544, allocations: 15.98 kB / 0.9886 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.2545, allocations: 11.92 kB / 0.9886 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.2545, allocations: 0 / 0.9886 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.909e-05/0.2545, allocations: 95.7 kB / 0.9887 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2545, allocations: 0 / 0.9887 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003393/0.2549, allocations: 24 kB / 0.9887 GB, free: 3.289 MB / 0.7136 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.0002216/0.2551, allocations: 143.2 kB / 0.9889 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003218/0.2554, allocations: 71.86 kB / 0.9889 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2554, allocations: 0 / 0.9889 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.2556, allocations: 39.91 kB / 0.989 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.2559, allocations: 7.984 kB / 0.989 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.2563, allocations: 266.1 kB / 0.9892 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.2566, allocations: 0.6848 MB / 0.9899 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.2566, allocations: 7.938 kB / 0.9899 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.2567, allocations: 11.44 kB / 0.9899 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.2567, allocations: 0 / 0.9899 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of Templates: time 0.003463/0.2601, allocations: 1.242 MB / 0.9911 GB, free: 0.7617 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)