Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00164/0.00164, allocations: 198.3 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.732/2.732, allocations: 472.6 MB / 0.7447 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 59.64 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3276, allocations: 159.9 MB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.00406/0.3317, allocations: 2.352 MB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1473/0.479, allocations: 149.7 MB / 1.216 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.4792, allocations: 8 kB / 1.216 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.4794, allocations: 27.66 kB / 1.216 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.4797, allocations: 87.39 kB / 1.216 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005474/0.4802, allocations: 267.2 kB / 1.216 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003279/0.4806, allocations: 399.8 kB / 1.217 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.4808, allocations: 112 kB / 1.217 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.4825, allocations: 252.3 kB / 1.217 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.4827, allocations: 167.3 kB / 1.217 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.646e-05/0.4828, allocations: 20 kB / 1.217 GB, free: 1 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004532/0.4832, allocations: 263.6 kB / 1.218 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.639e-05/0.4833, allocations: 71.66 kB / 1.218 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.4835, allocations: 151.2 kB / 1.218 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004721/0.4839, allocations: 474.5 kB / 1.218 GB, free: 60 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.4839, allocations: 4 kB / 1.218 GB, free: 56 kB / 0.9669 GB Notification: Performance of FrontEnd: time 7.51e-07/0.4839, allocations: 0 / 1.218 GB, free: 56 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.484, allocations: 0 / 1.218 GB, free: 56 kB / 0.9669 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.001375/0.4853, allocations: 0.7017 MB / 1.219 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.4854, allocations: 8.031 kB / 1.219 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002971/0.4884, allocations: 259.5 kB / 1.219 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.4887, allocations: 299.2 kB / 1.219 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.4887, allocations: 20.56 kB / 1.219 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.799e-05/0.4888, allocations: 24 kB / 1.219 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.4903, allocations: 436.5 kB / 1.22 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.4903, allocations: 0 / 1.22 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.694e-05/0.4903, allocations: 12 kB / 1.22 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.4903, allocations: 7.938 kB / 1.22 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/0.4927, allocations: 0.5252 MB / 1.22 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002956/0.4956, allocations: 1.136 MB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002335/0.498, allocations: 459 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/0.4991, allocations: 224.7 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.985e-05/0.4991, allocations: 4 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.4992, allocations: 46.56 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.4992, allocations: 0 / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.01669/0.5159, allocations: 1.729 MB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.5159, allocations: 51.41 kB / 1.224 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.5162, allocations: 304.6 kB / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.188e-05/0.5163, allocations: 33.7 kB / 1.224 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.5164, allocations: 164.2 kB / 1.224 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.731e-05/0.5165, allocations: 94.67 kB / 1.225 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.5167, allocations: 73.92 kB / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.5168, allocations: 346.7 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.5179, allocations: 196.4 kB / 1.225 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.519, allocations: 266.9 kB / 1.225 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002126/0.5211, allocations: 434.7 kB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5211, allocations: 0 / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007445/0.5286, allocations: 0.8927 MB / 1.227 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.5286, allocations: 4 kB / 1.227 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.5286, allocations: 4 kB / 1.227 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001939/0.5306, allocations: 281.4 kB / 1.227 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/0.531, allocations: 67.88 kB / 1.227 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01396/0.545, allocations: 3.793 MB / 1.231 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008369/0.5459, allocations: 71.61 kB / 1.231 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/0.5459, allocations: 23.95 kB / 1.231 GB, free: 2.566 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001834/0.5461, allocations: 149.7 kB / 1.231 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.245e-05/0.5462, allocations: 31.62 kB / 1.231 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00763/0.5538, allocations: 0.9418 MB / 1.232 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5539, allocations: 3.938 kB / 1.232 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5539, allocations: 7.938 kB / 1.232 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5539, allocations: 4 kB / 1.232 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004829/0.5544, allocations: 425 kB / 1.232 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5544, allocations: 4 kB / 1.232 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/0.5548, allocations: 51.89 kB / 1.232 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001845/0.5566, allocations: 285.4 kB / 1.233 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.372e-05/0.5567, allocations: 15.97 kB / 1.233 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01367/0.5704, allocations: 3.774 MB / 1.236 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5704, allocations: 0 / 1.236 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00724/0.5776, allocations: 0.9612 MB / 1.237 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.634e-05/0.5777, allocations: 112.6 kB / 1.237 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.225e-05/0.5778, allocations: 4 kB / 1.237 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007524/0.5786, allocations: 47.89 kB / 1.237 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.531e-05/0.5787, allocations: 27.91 kB / 1.237 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.5787, allocations: 15.97 kB / 1.237 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002209/0.5789, allocations: 223.1 kB / 1.238 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5789, allocations: 0 / 1.238 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005674/0.5795, allocations: 112 kB / 1.238 GB, free: 11.02 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001986/0.5797, allocations: 119.2 kB / 1.238 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002861/0.5826, allocations: 0.7157 MB / 1.239 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5826, allocations: 0 / 1.239 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001574/0.5842, allocations: 0.4972 MB / 1.239 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006679/0.5849, allocations: 105.3 kB / 1.239 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.5875, allocations: 0.785 MB / 1.24 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.5878, allocations: 0.7645 MB / 1.241 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004788/0.5883, allocations: 86.84 kB / 1.241 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.5884, allocations: 35.42 kB / 1.241 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.5885, allocations: 0 / 1.241 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of Templates: time 0.5015/1.09, allocations: 12.96 MB / 1.254 GB, free: 184.7 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)