Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.FixedShade.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.FixedShade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.FixedShade") translateModel(Buildings.HeatTransfer.Windows.Examples.FixedShade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.FixedShade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.23/2.23, allocations: 391.2 MB / 407 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001235, allocations: 203 kB / 499.1 MB, free: 4.605 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 113.7 kB / 0.9329 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 51.69 kB / 1.081 GB, free: 218.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2887, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.FixedShade): time 0.008036/0.2968, allocations: 7.585 MB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1545/0.4514, allocations: 153.5 MB / 1.375 GB, free: 3.48 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002539/0.454, allocations: 31.81 kB / 1.375 GB, free: 3.449 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.004895/0.4589, allocations: 1.52 MB / 1.377 GB, free: 1.922 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.4617, allocations: 0.6909 MB / 1.378 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.4644, allocations: 1.003 MB / 1.379 GB, free: 240 kB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.007561/0.4719, allocations: 7.487 MB / 1.386 GB, free: 8.73 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003494/0.4755, allocations: 3.094 MB / 1.389 GB, free: 5.562 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004357/0.4799, allocations: 2.559 MB / 1.391 GB, free: 2.992 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00498/0.4849, allocations: 3.014 MB / 1.394 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.001391/0.4863, allocations: 356 kB / 1.395 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.489, allocations: 0.8275 MB / 1.395 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.001838/0.4908, allocations: 1.557 MB / 1.397 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.004648/0.4955, allocations: 2.96 MB / 1.4 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.009928/0.5055, allocations: 8.938 MB / 1.409 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.5055, allocations: 0 / 1.409 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5055, allocations: 0 / 1.409 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0003779/0.5059, allocations: 0 / 1.409 GB, free: 1.285 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 963 * Number of variables: 963 Notification: Performance of Generate backend data structure: time 0.01744/0.5234, allocations: 7.046 MB / 1.415 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.5234, allocations: 11.98 kB / 1.415 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.9175/1.441, allocations: 76.64 MB / 1.49 GB, free: 151 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01595/1.457, allocations: 7.26 MB / 1.497 GB, free: 144 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000301/1.457, allocations: 303.5 kB / 1.498 GB, free: 143.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002571/1.46, allocations: 376 kB / 1.498 GB, free: 143.3 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1004/1.56, allocations: 35.89 MB / 1.533 GB, free: 106.9 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.794e-05/1.56, allocations: 31.75 kB / 1.533 GB, free: 106.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008865/1.561, allocations: 179.9 kB / 1.533 GB, free: 106.6 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.641e-05/1.561, allocations: 100 kB / 1.533 GB, free: 106.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1909/1.752, allocations: 63.5 MB / 1.595 GB, free: 42.94 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1849/1.937, allocations: 61.97 MB / 1.656 GB, free: 12.44 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.132/2.069, allocations: 40.4 MB / 1.695 GB, free: 3.988 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.09813/2.167, allocations: 30.42 MB / 1.725 GB, free: 5.512 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008632/2.168, allocations: 0.6538 MB / 1.726 GB, free: 4.73 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1027/2.271, allocations: 31.86 MB / 1.757 GB, free: 4.754 MB / 1.042 GB Notification: Performance of pre-optimization done (n=257): time 6.682e-06/2.271, allocations: 224 / 1.757 GB, free: 4.754 MB / 1.042 GB Notification: Performance of matching and sorting (n=257): time 0.298/2.569, allocations: 87.85 MB / 1.843 GB, free: 12.69 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001623/2.569, allocations: 320.7 kB / 1.843 GB, free: 12.3 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01295/2.582, allocations: 6.943 MB / 1.85 GB, free: 5.355 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.001987/2.584, allocations: 85.69 kB / 1.85 GB, free: 5.266 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.002915/2.587, allocations: 2.783 MB / 1.853 GB, free: 2.465 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.002723/2.59, allocations: 0.8514 MB / 1.853 GB, free: 1.602 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003867/2.594, allocations: 1.253 MB / 1.855 GB, free: 348 kB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001133/2.594, allocations: 309.1 kB / 1.855 GB, free: 36 kB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.7126/3.307, allocations: 30.47 MB / 1.885 GB, free: 403.1 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.09311/3.4, allocations: 31.81 MB / 1.916 GB, free: 376 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1676/3.567, allocations: 54.09 MB / 1.969 GB, free: 321.3 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.982e-05/3.568, allocations: 8 kB / 1.969 GB, free: 321.3 MB / 1.135 GB Notification: Performance of matching and sorting (n=468) (initialization): time 0.1847/3.752, allocations: 58.96 MB / 2.026 GB, free: 262.5 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 4.749e-05/3.752, allocations: 23.98 kB / 2.026 GB, free: 262.4 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-05/3.752, allocations: 37.25 kB / 2.026 GB, free: 262.4 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006105/3.753, allocations: 140.9 kB / 2.026 GB, free: 262.3 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04963/3.803, allocations: 13.11 MB / 2.039 GB, free: 249.1 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/3.805, allocations: 1.666 MB / 2.041 GB, free: 247.3 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05006/3.855, allocations: 12.48 MB / 2.053 GB, free: 235 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002524/3.857, allocations: 327.5 kB / 2.053 GB, free: 234.7 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 169 * Number of states: 0 () * Number of discrete variables: 44 (sha[4].idxSou.y,sha[3].idxSou.y,sha[2].idxSou.y,sha[1].idxSou.y,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,sha[1].ove.solAzi.outsidePolarCircle,sha[2].ove.solAzi.outsidePolarCircle,sha[3].ove.solAzi.outsidePolarCircle,sha[4].ove.solAzi.outsidePolarCircle,sha[4].extFraSun.index,$PRE.sha[4].extFraSun.index,sha[3].extFraSun.index,$PRE.sha[3].extFraSun.index,sha[2].extFraSun.index,$PRE.sha[2].extFraSun.index,sha[1].extFraSun.index,$PRE.sha[1].extFraSun.index,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,sha[4].extFraSun.k[4],sha[4].extFraSun.k[3],sha[4].extFraSun.k[2],sha[4].extFraSun.k[1],sha[3].extFraSun.k[4],sha[3].extFraSun.k[3],sha[3].extFraSun.k[2],sha[3].extFraSun.k[1],sha[2].extFraSun.k[4],sha[2].extFraSun.k[3],sha[2].extFraSun.k[2],sha[2].extFraSun.k[1],sha[1].extFraSun.k[4],sha[1].extFraSun.k[3],sha[1].extFraSun.k[2],sha[1].extFraSun.k[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (466): * Single equations (assignments): 465 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.006477/3.864, allocations: 2.346 MB / 2.056 GB, free: 232.4 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002459/3.866, allocations: 0.5388 MB / 2.056 GB, free: 232 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1832/4.05, allocations: 59.72 MB / 2.114 GB, free: 172.1 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-05/4.05, allocations: 24.98 kB / 2.114 GB, free: 172.1 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/4.05, allocations: 0 / 2.114 GB, free: 172.1 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.82e-05/4.05, allocations: 21.91 kB / 2.114 GB, free: 172.1 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2049/4.255, allocations: 69.89 MB / 2.183 GB, free: 102 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.674e-05/4.255, allocations: 4.031 kB / 2.183 GB, free: 102 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04851/4.303, allocations: 12.71 MB / 2.195 GB, free: 89.3 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005877/4.304, allocations: 96.7 kB / 2.195 GB, free: 89.2 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002084/4.306, allocations: 207.6 kB / 2.195 GB, free: 89 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00179/4.308, allocations: 1.62 MB / 2.197 GB, free: 87.24 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/4.308, allocations: 7.875 kB / 2.197 GB, free: 87.23 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.9872/5.295, allocations: 94.93 MB / 2.29 GB, free: 402.7 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00991/5.305, allocations: 2.966 MB / 2.293 GB, free: 401.7 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004027/5.309, allocations: 53 kB / 2.293 GB, free: 401.6 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05199/5.361, allocations: 12.13 MB / 2.304 GB, free: 400.4 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009122/5.362, allocations: 163.2 kB / 2.305 GB, free: 400.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001897/5.364, allocations: 236.2 kB / 2.305 GB, free: 400.2 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.01238/5.376, allocations: 4.862 MB / 2.31 GB, free: 397.8 MB / 1.135 GB Notification: Performance of sort global known variables: time 8.72e-07/5.376, allocations: 0 / 2.31 GB, free: 397.8 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.01028/5.387, allocations: 2.147 MB / 2.312 GB, free: 397.5 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sha[1].extFraSun.k[1],sha[1].extFraSun.k[2],sha[1].extFraSun.k[3],sha[1].extFraSun.k[4],sha[2].extFraSun.k[1],sha[2].extFraSun.k[2],sha[2].extFraSun.k[3],sha[2].extFraSun.k[4],sha[3].extFraSun.k[1],sha[3].extFraSun.k[2],sha[3].extFraSun.k[3],sha[3].extFraSun.k[4],sha[4].extFraSun.k[1],sha[4].extFraSun.k[2],sha[4].extFraSun.k[3],sha[4].extFraSun.k[4],weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (283): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 18 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003711/5.391, allocations: 0.7048 MB / 2.312 GB, free: 397.3 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.186/5.577, allocations: 61.82 MB / 2.373 GB, free: 338.8 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/5.577, allocations: 0 / 2.373 GB, free: 338.8 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.08943/5.666, allocations: 30.82 MB / 2.403 GB, free: 308 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00799/5.674, allocations: 1.273 MB / 2.404 GB, free: 306.7 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1084/5.782, allocations: 44.72 MB / 2.448 GB, free: 261.9 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004707/5.787, allocations: 4.213 MB / 2.452 GB, free: 257.6 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.0174/5.805, allocations: 4.322 MB / 2.456 GB, free: 253.3 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006074/5.811, allocations: 0.6431 MB / 2.457 GB, free: 252.7 MB / 1.135 GB Notification: Performance of SimCode: time 8.42e-07/5.811, allocations: 0 / 2.457 GB, free: 252.7 MB / 1.135 GB Notification: Performance of Templates: time 0.1676/5.978, allocations: 135.8 MB / 2.589 GB, free: 117.3 MB / 1.135 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.FixedShade.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.FixedShade.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.FixedShade -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe 2>&1)