Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.577/1.577, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 184.9 kB / 327.3 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.4 MB / 0.5783 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007998/0.0007997, allocations: 89.91 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000415/0.0004153, allocations: 11.53 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1861, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.001921/0.188, allocations: 1.928 MB / 0.9027 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1307/0.3187, allocations: 138.1 MB / 1.038 GB, free: 3.449 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002745/0.3191, allocations: 7.938 kB / 1.038 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.3193, allocations: 35.66 kB / 1.038 GB, free: 3.406 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003665/0.3196, allocations: 79.39 kB / 1.038 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007067/0.3204, allocations: 239.3 kB / 1.038 GB, free: 3.094 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.3208, allocations: 371.8 kB / 1.038 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.321, allocations: 78.12 kB / 1.038 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004355/0.3214, allocations: 215.4 kB / 1.039 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.3217, allocations: 151.4 kB / 1.039 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.871e-05/0.3217, allocations: 12 kB / 1.039 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004789/0.3222, allocations: 255.6 kB / 1.039 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 6.828e-05/0.3223, allocations: 59.73 kB / 1.039 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 7.077e-05/0.3224, allocations: 73.58 kB / 1.039 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003906/0.3228, allocations: 335.5 kB / 1.039 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3228, allocations: 0 / 1.039 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3228, allocations: 0 / 1.039 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.3228, allocations: 0 / 1.039 GB, free: 1.566 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.00141/0.3242, allocations: 0.6743 MB / 1.04 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3243, allocations: 8.031 kB / 1.04 GB, free: 0.832 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002889/0.3272, allocations: 255.3 kB / 1.04 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.3276, allocations: 279.5 kB / 1.041 GB, free: 276 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.3276, allocations: 20.56 kB / 1.041 GB, free: 256 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.34e-05/0.3277, allocations: 28 kB / 1.041 GB, free: 228 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.3292, allocations: 428.5 kB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.3293, allocations: 7.938 kB / 1.041 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.286e-05/0.3293, allocations: 15.95 kB / 1.041 GB, free: 15.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.3293, allocations: 12 kB / 1.041 GB, free: 15.76 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.3317, allocations: 0.5252 MB / 1.042 GB, free: 15.24 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003163/0.3349, allocations: 1.144 MB / 1.043 GB, free: 14.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/0.3373, allocations: 466.3 kB / 1.043 GB, free: 13.58 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.3384, allocations: 232.6 kB / 1.043 GB, free: 13.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.773e-05/0.3384, allocations: 8 kB / 1.043 GB, free: 13.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.3385, allocations: 30.56 kB / 1.043 GB, free: 13.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 2.534e-06/0.3385, allocations: 0 / 1.043 GB, free: 13.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.01643/0.3549, allocations: 1.714 MB / 1.045 GB, free: 11.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.355, allocations: 59.36 kB / 1.045 GB, free: 11.47 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/0.3553, allocations: 304.5 kB / 1.045 GB, free: 11.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.819e-05/0.3554, allocations: 33.64 kB / 1.045 GB, free: 11.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.3555, allocations: 172.2 kB / 1.046 GB, free: 10.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.3556, allocations: 90.67 kB / 1.046 GB, free: 10.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.3557, allocations: 4 kB / 1.046 GB, free: 10.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3558, allocations: 346.8 kB / 1.046 GB, free: 10.51 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.3569, allocations: 200.4 kB / 1.046 GB, free: 10.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.358, allocations: 263 kB / 1.046 GB, free: 10.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.359, allocations: 215.8 kB / 1.047 GB, free: 9.828 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.359, allocations: 0 / 1.047 GB, free: 9.828 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007181/0.3662, allocations: 0.8893 MB / 1.048 GB, free: 8.926 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.3663, allocations: 10.45 kB / 1.048 GB, free: 8.918 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3663, allocations: 4 kB / 1.048 GB, free: 8.914 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001909/0.3682, allocations: 277.4 kB / 1.048 GB, free: 8.637 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005151/0.3687, allocations: 71.88 kB / 1.048 GB, free: 8.566 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01406/0.3828, allocations: 3.767 MB / 1.052 GB, free: 4.531 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008888/0.3837, allocations: 83.58 kB / 1.052 GB, free: 4.449 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-05/0.3838, allocations: 15.97 kB / 1.052 GB, free: 4.434 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001952/0.384, allocations: 141.8 kB / 1.052 GB, free: 4.285 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.542e-05/0.3841, allocations: 35.58 kB / 1.052 GB, free: 4.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00727/0.3914, allocations: 0.9456 MB / 1.053 GB, free: 3.297 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.3914, allocations: 4 kB / 1.053 GB, free: 3.293 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.3914, allocations: 0 / 1.053 GB, free: 3.293 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3914, allocations: 0 / 1.053 GB, free: 3.293 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005465/0.392, allocations: 432.6 kB / 1.053 GB, free: 2.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.392, allocations: 0 / 1.053 GB, free: 2.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.3924, allocations: 55.95 kB / 1.053 GB, free: 2.766 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001779/0.3942, allocations: 289.2 kB / 1.054 GB, free: 2.477 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.3942, allocations: 11.98 kB / 1.054 GB, free: 2.465 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3368/0.7311, allocations: 3.749 MB / 1.057 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.7311, allocations: 0 / 1.057 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006855/0.738, allocations: 0.9594 MB / 1.058 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.7381, allocations: 114.4 kB / 1.058 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.825e-05/0.7382, allocations: 6.906 kB / 1.058 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000746/0.739, allocations: 46.61 kB / 1.058 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.503e-05/0.7391, allocations: 26.59 kB / 1.058 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.7391, allocations: 19.92 kB / 1.058 GB, free: 154.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001944/0.7393, allocations: 223.7 kB / 1.059 GB, free: 154.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7393, allocations: 0 / 1.059 GB, free: 154.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000574/0.7399, allocations: 111.8 kB / 1.059 GB, free: 154.3 MB / 0.698 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001928/0.7401, allocations: 116.5 kB / 1.059 GB, free: 154.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002626/0.7427, allocations: 0.7273 MB / 1.059 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7427, allocations: 2.781 kB / 1.059 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.7442, allocations: 0.5057 MB / 1.06 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006571/0.7449, allocations: 101.2 kB / 1.06 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.7473, allocations: 0.7912 MB / 1.061 GB, free: 153.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.7476, allocations: 0.7705 MB / 1.062 GB, free: 152.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.7478, allocations: 39.89 kB / 1.062 GB, free: 152.7 MB / 0.698 GB Notification: Performance of SimCode: time 6.01e-07/0.7478, allocations: 0 / 1.062 GB, free: 152.7 MB / 0.698 GB Notification: Performance of Templates: time 0.01345/0.7613, allocations: 8.272 MB / 1.07 GB, free: 151.2 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)