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.468/1.468, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001033/0.001033, allocations: 175.3 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.421/2.421, allocations: 205 MB / 0.5766 GB, free: 20.96 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.001213/0.001213, allocations: 95.91 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.000329, allocations: 8.781 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3113, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003228/0.3146, allocations: 2.03 MB / 0.8987 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2378/0.5525, allocations: 149.8 MB / 1.045 GB, free: 11.83 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00044/0.553, allocations: 7.938 kB / 1.045 GB, free: 11.82 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.5534, allocations: 35.72 kB / 1.045 GB, free: 11.79 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0006299/0.554, allocations: 91.33 kB / 1.045 GB, free: 11.7 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.5551, allocations: 259.3 kB / 1.045 GB, free: 11.45 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006944/0.5558, allocations: 403.7 kB / 1.046 GB, free: 11.05 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000284/0.5561, allocations: 99.7 kB / 1.046 GB, free: 10.95 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002901/0.559, allocations: 246.1 kB / 1.046 GB, free: 10.73 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000361/0.5594, allocations: 159.3 kB / 1.046 GB, free: 10.57 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.753e-05/0.5595, allocations: 12 kB / 1.046 GB, free: 10.56 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007917/0.5603, allocations: 259.6 kB / 1.046 GB, free: 10.31 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.5604, allocations: 55.75 kB / 1.047 GB, free: 10.25 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.5607, allocations: 135.2 kB / 1.047 GB, free: 10.12 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000681/0.5614, allocations: 335.2 kB / 1.047 GB, free: 9.793 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.5614, allocations: 0 / 1.047 GB, free: 9.793 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.487e-06/0.5614, allocations: 0 / 1.047 GB, free: 9.793 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.5614, allocations: 4 kB / 1.047 GB, free: 9.789 MB / 0.698 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.001486/0.5629, allocations: 0.6667 MB / 1.048 GB, free: 9.074 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.563, allocations: 16.02 kB / 1.048 GB, free: 9.059 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002613/0.5656, allocations: 255.4 kB / 1.048 GB, free: 8.809 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004494/0.566, allocations: 295.2 kB / 1.048 GB, free: 8.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.5661, allocations: 20.56 kB / 1.048 GB, free: 8.461 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.894e-05/0.5661, allocations: 24 kB / 1.048 GB, free: 8.438 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.5675, allocations: 436.5 kB / 1.049 GB, free: 8.004 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.5675, allocations: 0 / 1.049 GB, free: 8.004 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/0.5676, allocations: 12 kB / 1.049 GB, free: 7.992 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.5676, allocations: 11.94 kB / 1.049 GB, free: 7.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.5697, allocations: 0.533 MB / 1.049 GB, free: 7.445 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003065/0.5728, allocations: 1.144 MB / 1.05 GB, free: 6.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.575, allocations: 466.3 kB / 1.051 GB, free: 5.785 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009828/0.576, allocations: 232.6 kB / 1.051 GB, free: 5.555 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.603e-05/0.576, allocations: 4 kB / 1.051 GB, free: 5.551 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.5761, allocations: 38.56 kB / 1.051 GB, free: 5.504 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 3.727e-06/0.5761, allocations: 3.938 kB / 1.051 GB, free: 5.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.0146/0.5907, allocations: 1.714 MB / 1.053 GB, free: 3.738 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.982e-05/0.5908, allocations: 55.41 kB / 1.053 GB, free: 3.672 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/0.5913, allocations: 308.5 kB / 1.053 GB, free: 3.363 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.507e-05/0.5913, allocations: 25.7 kB / 1.053 GB, free: 3.332 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.5915, allocations: 176.2 kB / 1.053 GB, free: 3.156 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.5916, allocations: 86.8 kB / 1.053 GB, free: 3.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.477e-05/0.5917, allocations: 29.7 kB / 1.053 GB, free: 3.035 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5918, allocations: 342.8 kB / 1.054 GB, free: 2.691 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009575/0.5928, allocations: 208.4 kB / 1.054 GB, free: 2.488 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009982/0.5938, allocations: 266.9 kB / 1.054 GB, free: 2.207 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/0.5957, allocations: 438.8 kB / 1.055 GB, free: 1.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5957, allocations: 0 / 1.055 GB, free: 1.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006435/0.6022, allocations: 0.8927 MB / 1.055 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/0.6022, allocations: 4 kB / 1.055 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.6023, allocations: 3.938 kB / 1.055 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/0.6041, allocations: 281.4 kB / 1.056 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/0.6046, allocations: 67.89 kB / 1.056 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.574/1.179, allocations: 3.776 MB / 1.059 GB, free: 158.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008555/1.18, allocations: 78.78 kB / 1.059 GB, free: 158.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/1.18, allocations: 15.25 kB / 1.059 GB, free: 158.5 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 (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.0002072/1.18, allocations: 146.2 kB / 1.06 GB, free: 158.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-05/1.18, allocations: 28.62 kB / 1.06 GB, free: 158.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006585/1.187, allocations: 0.9456 MB / 1.061 GB, free: 158.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/1.187, allocations: 2.625 kB / 1.061 GB, free: 158.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.187, allocations: 9.312 kB / 1.061 GB, free: 158.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.187, allocations: 1.219 kB / 1.061 GB, free: 158.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006161/1.187, allocations: 420.4 kB / 1.061 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.187, allocations: 4.312 kB / 1.061 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003831/1.188, allocations: 59.66 kB / 1.061 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001671/1.189, allocations: 273.9 kB / 1.061 GB, free: 158.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/1.189, allocations: 20.8 kB / 1.061 GB, free: 158.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01188/1.201, allocations: 3.755 MB / 1.065 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/1.201, allocations: 2.5 kB / 1.065 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006443/1.208, allocations: 0.9586 MB / 1.066 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/1.208, allocations: 117.8 kB / 1.066 GB, free: 155.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.291e-05/1.208, allocations: 6.625 kB / 1.066 GB, free: 155.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006792/1.209, allocations: 46.08 kB / 1.066 GB, free: 155.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/1.209, allocations: 20.25 kB / 1.066 GB, free: 155.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.927e-05/1.209, allocations: 20.03 kB / 1.066 GB, free: 155.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002977/1.209, allocations: 222.8 kB / 1.066 GB, free: 155.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.209, allocations: 0.875 kB / 1.066 GB, free: 155.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006621/1.21, allocations: 121.2 kB / 1.066 GB, free: 155.1 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 (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.00022/1.21, allocations: 116.4 kB / 1.067 GB, free: 155 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003085/1.213, allocations: 0.7284 MB / 1.067 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.213, allocations: 0.9375 kB / 1.067 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0018/1.215, allocations: 0.517 MB / 1.068 GB, free: 154.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007957/1.216, allocations: 92.34 kB / 1.068 GB, free: 154.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/1.219, allocations: 0.7976 MB / 1.069 GB, free: 154.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/1.219, allocations: 0.7747 MB / 1.069 GB, free: 153.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/1.219, allocations: 37.28 kB / 1.069 GB, free: 153.4 MB / 0.698 GB Notification: Performance of SimCode: time 7.82e-07/1.219, allocations: 0 / 1.069 GB, free: 153.4 MB / 0.698 GB Notification: Performance of Templates: time 0.01425/1.234, allocations: 8.261 MB / 1.078 GB, free: 150.4 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)