Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Buildings.Components.Examples.WindowDynamics.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Buildings.Components.Examples.WindowDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Buildings.Components.Examples.WindowDynamics") translateModel(IDEAS.Buildings.Components.Examples.WindowDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Buildings.Components.Examples.WindowDynamics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000799/0.0007992, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005788/0.005789, allocations: 171 kB / 16.26 MB, free: 6.613 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.457/1.457, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7767/0.7767, allocations: 132.4 MB / 423.8 MB, free: 1.941 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003821, allocations: 8 kB / 0.504 GB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5348/0.5352, allocations: 81.57 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.WindowDynamics): time 1.155/1.69, allocations: 482.1 MB / 1.055 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 1.176/2.866, allocations: 165 MB / 1.216 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06996/2.936, allocations: 0.8814 MB / 1.217 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.01408/2.95, allocations: 3.979 MB / 1.22 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.02929/2.98, allocations: 6.099 MB / 1.226 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01893/2.998, allocations: 4.519 MB / 1.231 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.03828/3.037, allocations: 22.24 MB / 1.253 GB, free: 11.57 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03469/3.072, allocations: 15.84 MB / 1.268 GB, free: 0.75 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02266/3.094, allocations: 6.829 MB / 1.275 GB, free: 11 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01693/3.111, allocations: 6.776 MB / 1.281 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.005042/3.116, allocations: 488 kB / 1.282 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02016/3.137, allocations: 3.665 MB / 1.285 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.007351/3.144, allocations: 2.965 MB / 1.288 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.022/3.166, allocations: 7.192 MB / 1.295 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0475/3.214, allocations: 25.99 MB / 1.321 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/3.214, allocations: 0 / 1.321 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.983e-06/3.214, allocations: 0 / 1.321 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.001343/3.215, allocations: 3.938 kB / 1.321 GB, free: 13.04 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3036 * Number of variables: 3036 Notification: Performance of Generate backend data structure: time 0.04285/3.258, allocations: 14.64 MB / 1.335 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/3.258, allocations: 8.031 kB / 1.335 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01982/3.278, allocations: 3.121 MB / 1.338 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03968/3.317, allocations: 14.85 MB / 1.352 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001562/3.319, allocations: 0.9796 MB / 1.353 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007588/3.327, allocations: 1.148 MB / 1.355 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0585/3.385, allocations: 14.34 MB / 1.369 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005763/3.386, allocations: 11.88 kB / 1.369 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004/3.39, allocations: 489.6 kB / 1.369 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004287/3.39, allocations: 387.2 kB / 1.369 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0365/3.427, allocations: 12.19 MB / 1.381 GB, free: 14.71 MB / 0.92 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1228/3.55, allocations: 62.54 MB / 1.442 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01741/3.567, allocations: 7.695 MB / 1.45 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009814/3.577, allocations: 3.678 MB / 1.453 GB, free: 48 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619/5.196, allocations: 1.39 MB / 1.455 GB, free: 163.1 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01352/5.21, allocations: 3.785 MB / 1.459 GB, free: 162.7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=506): time 3.017e-05/5.21, allocations: 2 kB / 1.459 GB, free: 162.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=508): time 0.1925/5.402, allocations: 62.8 MB / 1.52 GB, free: 127.9 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006248/5.403, allocations: 0.8555 MB / 1.521 GB, free: 126.9 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04168/5.445, allocations: 11.66 MB / 1.532 GB, free: 126.1 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.00275/5.447, allocations: 123 kB / 1.532 GB, free: 126.1 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.01693/5.464, allocations: 7.207 MB / 1.539 GB, free: 123.9 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.004615/5.469, allocations: 1.754 MB / 1.541 GB, free: 122.8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003668/5.473, allocations: 0.6689 MB / 1.542 GB, free: 122.7 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 7.502e-05/5.473, allocations: 304.9 kB / 1.542 GB, free: 122.4 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01097/5.484, allocations: 3.668 MB / 1.545 GB, free: 122.4 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01215/5.496, allocations: 5.356 MB / 1.551 GB, free: 120.7 MB / 0.9825 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone1.airModel.vol.dynBal.medium.p = zone1.airModel.vol.dynBal.p_start (bou.p = zone1.airModel.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.2215/5.718, allocations: 49.14 MB / 1.599 GB, free: 94.69 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001033/5.718, allocations: 12 kB / 1.599 GB, free: 94.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=956) (initialization): time 0.03356/5.751, allocations: 11.61 MB / 1.61 GB, free: 83.64 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/5.751, allocations: 25.72 kB / 1.61 GB, free: 83.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001264/5.752, allocations: 41.31 kB / 1.61 GB, free: 83.58 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004491/5.756, allocations: 1.395 MB / 1.611 GB, free: 82.17 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008481/5.765, allocations: 1.698 MB / 1.613 GB, free: 80.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01812/5.783, allocations: 15.44 MB / 1.628 GB, free: 64.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01317/5.796, allocations: 0.7863 MB / 1.629 GB, free: 63.81 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00242/5.798, allocations: 343.8 kB / 1.629 GB, free: 63.48 MB / 0.9825 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: zone1.airModel.vol.dynBal.medium.p = zone1.airModel.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 187 * Number of states: 0 () * Number of discrete variables: 28 (windowNormal.q50_zone.using_custom_q50,windowNone.q50_zone.using_custom_q50,windowTwo.q50_zone.using_custom_q50,zone1.setq50.use_custom_n50s[3],zone1.setq50.use_custom_n50s[2],zone1.setq50.use_custom_n50s[1],zone1.setq50.allSurfacesCustom,zone1.radDistrLw.computeCarroll,sim.weaDat.conTim.canRepeatWeatherFile,sim.weaDat.conTimMin.canRepeatWeatherFile,sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,zone1.setq50.use_custom_q50[3],zone1.setq50.use_custom_q50[2],zone1.setq50.use_custom_q50[1],windowNormal.setArea.use_custom_n50,windowNone.setArea.use_custom_n50,windowTwo.setArea.use_custom_n50,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (868): * Single equations (assignments): 861 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,17,100.0%), (2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,37), (1,9), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.01422/5.813, allocations: 4.386 MB / 1.634 GB, free: 59.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004498/5.817, allocations: 1.138 MB / 1.635 GB, free: 58.03 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02595/5.843, allocations: 8.595 MB / 1.643 GB, free: 49.38 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.518e-05/5.843, allocations: 56 kB / 1.643 GB, free: 49.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.471e-05/5.843, allocations: 9.688 kB / 1.643 GB, free: 49.31 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01604/5.859, allocations: 6.43 MB / 1.649 GB, free: 42.78 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05952/5.919, allocations: 22.9 MB / 1.672 GB, free: 19.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.578e-05/5.919, allocations: 20.03 kB / 1.672 GB, free: 19.71 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005511/5.925, allocations: 1.002 MB / 1.673 GB, free: 18.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002964/5.928, allocations: 0.9406 MB / 1.674 GB, free: 17.8 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001322/5.929, allocations: 147.9 kB / 1.674 GB, free: 17.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01514/5.944, allocations: 13.8 MB / 1.687 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.51e-05/5.944, allocations: 21.06 kB / 1.687 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03135/5.976, allocations: 12.47 MB / 1.7 GB, free: 6.336 MB / 0.9982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00787/5.983, allocations: 1.931 MB / 1.701 GB, free: 4.371 MB / 0.9982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004134/5.988, allocations: 125.5 kB / 1.702 GB, free: 4.254 MB / 0.9982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008903/5.997, allocations: 0.5262 MB / 1.702 GB, free: 3.73 MB / 0.9982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001586/5.998, allocations: 397.9 kB / 1.702 GB, free: 3.352 MB / 0.9982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001059/5.999, allocations: 183.9 kB / 1.703 GB, free: 3.172 MB / 0.9982 GB Notification: Performance of sorting global known variables: time 0.02153/6.021, allocations: 7.963 MB / 1.71 GB, free: 11.27 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.12e-07/6.021, allocations: 0 / 1.71 GB, free: 11.27 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.01781/6.039, allocations: 2.577 MB / 1.713 GB, free: 8.734 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 12 (windowTwo.heaCapGlaInt.T,windowTwo.heaCapFraIn.T,windowTwo.heaCapFraExt.T,windowTwo.heaCapGlaExt.T,zone1.airModel.vol.dynBal.U,zone1.airModel.vol.dynBal.mXi[1],windowNormal.layMul.monLay[1].monLayDyn.T[1],windowNormal.layMul.monLay[1].monLayDyn.T[2],windowNormal.layMul.monLay[3].monLayDyn.T[1],windowNormal.layMul.monLay[3].monLayDyn.T[2],windowNormal.heaCapFraIn.T,windowNormal.heaCapFraExt.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of discrete states: 2 (sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (480): * Single equations (assignments): 473 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,37), (1,9), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004546/6.043, allocations: 1.023 MB / 1.714 GB, free: 8.129 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02645/6.07, allocations: 9.077 MB / 1.723 GB, free: 15.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.063e-05/6.07, allocations: 4 kB / 1.723 GB, free: 15.16 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.01175/6.082, allocations: 4.395 MB / 1.727 GB, free: 10.83 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04147/6.123, allocations: 2.977 MB / 1.73 GB, free: 7.926 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07183/6.195, allocations: 33.79 MB / 1.763 GB, free: 6.059 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01733/6.212, allocations: 8.354 MB / 1.771 GB, free: 13.67 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.01272/6.225, allocations: 2.602 MB / 1.774 GB, free: 11.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003934/6.229, allocations: 0.8635 MB / 1.775 GB, free: 10.23 MB / 1.076 GB Notification: Performance of SimCode: time 1.222e-06/6.229, allocations: 4 kB / 1.775 GB, free: 10.23 MB / 1.076 GB Notification: Performance of Templates: time 1.132/7.361, allocations: 141.5 MB / 1.913 GB, free: 0.6104 GB / 1.139 GB make -j1 -f IDEAS_IDEAS.Buildings.Components.Examples.WindowDynamics.makefile (rm -f IDEAS_IDEAS.Buildings.Components.Examples.WindowDynamics.pipe ; mkfifo IDEAS_IDEAS.Buildings.Components.Examples.WindowDynamics.pipe ; head -c 1048576 < IDEAS_IDEAS.Buildings.Components.Examples.WindowDynamics.pipe >> ../files/IDEAS_IDEAS.Buildings.Components.Examples.WindowDynamics.sim & ./IDEAS_IDEAS.Buildings.Components.Examples.WindowDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Buildings.Components.Examples.WindowDynamics.pipe 2>&1)