Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Buildings.Components.Examples.WindowLinearisation.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.WindowLinearisation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Buildings.Components.Examples.WindowLinearisation") translateModel(IDEAS.Buildings.Components.Examples.WindowLinearisation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Buildings.Components.Examples.WindowLinearisation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008695/0.0008696, allocations: 91.14 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.006531/0.006531, allocations: 170.9 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.482/1.482, allocations: 223.2 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8431/0.8431, allocations: 132.4 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.0004089, allocations: 13 kB / 0.504 GB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6143/0.6148, allocations: 81.57 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.WindowLinearisation): time 1.137/1.752, allocations: 474.5 MB / 1.047 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 1.146/2.899, allocations: 165.4 MB / 1.209 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.07775/2.976, allocations: 0.863 MB / 1.209 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.01582/2.992, allocations: 4.078 MB / 1.213 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.02881/3.021, allocations: 5.731 MB / 1.219 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01726/3.038, allocations: 4.258 MB / 1.223 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.03487/3.073, allocations: 21.74 MB / 1.244 GB, free: 0.9844 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04096/3.114, allocations: 15.27 MB / 1.259 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.027/3.141, allocations: 6.625 MB / 1.266 GB, free: 2.828 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01726/3.159, allocations: 6.505 MB / 1.272 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.004875/3.164, allocations: 480 kB / 1.273 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01609/3.18, allocations: 3.641 MB / 1.276 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.006624/3.186, allocations: 2.73 MB / 1.279 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.01958/3.206, allocations: 6.827 MB / 1.285 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.04493/3.251, allocations: 24.86 MB / 1.31 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/3.251, allocations: 0 / 1.31 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.056e-06/3.251, allocations: 0 / 1.31 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.001202/3.252, allocations: 0 / 1.31 GB, free: 6.879 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2938 * Number of variables: 2938 Notification: Performance of Generate backend data structure: time 0.0401/3.292, allocations: 13.77 MB / 1.323 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/3.292, allocations: 8.031 kB / 1.323 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01906/3.312, allocations: 3.019 MB / 1.326 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03622/3.348, allocations: 13.67 MB / 1.339 GB, free: 8.457 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001599/3.349, allocations: 0.9828 MB / 1.34 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006546/3.356, allocations: 1.116 MB / 1.342 GB, free: 6.336 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0481/3.404, allocations: 13.91 MB / 1.355 GB, free: 8.188 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003237/3.405, allocations: 7.938 kB / 1.355 GB, free: 8.18 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003129/3.408, allocations: 468 kB / 1.356 GB, free: 7.723 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000353/3.408, allocations: 387 kB / 1.356 GB, free: 7.344 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03457/3.443, allocations: 11.83 MB / 1.367 GB, free: 11.51 MB / 0.9044 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.1244/3.567, allocations: 60.17 MB / 1.426 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01797/3.585, allocations: 7.256 MB / 1.433 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009276/3.594, allocations: 3.585 MB / 1.437 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002725/3.597, allocations: 1.948 MB / 1.439 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.011/3.608, allocations: 3.674 MB / 1.442 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=481): time 2.436e-05/3.608, allocations: 0 / 1.442 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=484): time 1.072/4.68, allocations: 56.82 MB / 1.498 GB, free: 491.3 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003602/4.681, allocations: 0.7963 MB / 1.499 GB, free: 490.3 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03309/4.714, allocations: 10.68 MB / 1.509 GB, free: 486.7 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.002501/4.716, allocations: 122.7 kB / 1.509 GB, free: 486.6 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.01085/4.727, allocations: 6.698 MB / 1.516 GB, free: 481.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.003415/4.731, allocations: 1.68 MB / 1.517 GB, free: 480.2 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002101/4.733, allocations: 0.6505 MB / 1.518 GB, free: 479.9 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 7.733e-05/4.733, allocations: 301.1 kB / 1.518 GB, free: 479.6 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008444/4.741, allocations: 3.572 MB / 1.522 GB, free: 478.4 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009889/4.751, allocations: 5.252 MB / 1.527 GB, free: 475.3 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.2213/4.973, allocations: 48.59 MB / 1.574 GB, free: 433.8 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.881e-05/4.973, allocations: 12 kB / 1.574 GB, free: 433.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=925) (initialization): time 0.03418/5.007, allocations: 11.21 MB / 1.585 GB, free: 422.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-05/5.007, allocations: 24 kB / 1.585 GB, free: 422.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000102/5.007, allocations: 40 kB / 1.585 GB, free: 422.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004245/5.011, allocations: 1.324 MB / 1.587 GB, free: 421.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008732/5.02, allocations: 1.697 MB / 1.588 GB, free: 419.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01675/5.037, allocations: 16.41 MB / 1.604 GB, free: 402.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01308/5.05, allocations: 0.7896 MB / 1.605 GB, free: 401.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002413/5.053, allocations: 339.8 kB / 1.605 GB, free: 401 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 (winLin.q50_zone.using_custom_q50,winNonLin.q50_zone.using_custom_q50,outerWall.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],winLin.setArea.use_custom_n50,winNonLin.setArea.use_custom_n50,outerWall.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 (860): * Single equations (assignments): 851 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,1,100.0%), (1,3,100.0%), (3,17,100.0%), (2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,18), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.01369/5.066, allocations: 4.112 MB / 1.609 GB, free: 396.9 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004252/5.071, allocations: 1.053 MB / 1.61 GB, free: 395.8 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02298/5.094, allocations: 8.25 MB / 1.618 GB, free: 387.6 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.202e-05/5.094, allocations: 59.94 kB / 1.619 GB, free: 387.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.667e-05/5.094, allocations: 8 kB / 1.619 GB, free: 387.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0115/5.105, allocations: 6.212 MB / 1.625 GB, free: 381.2 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.04833/5.154, allocations: 22 MB / 1.646 GB, free: 358.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-05/5.154, allocations: 12 kB / 1.646 GB, free: 358.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004774/5.158, allocations: 1.018 MB / 1.647 GB, free: 357.9 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002541/5.161, allocations: 0.8623 MB / 1.648 GB, free: 357 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008301/5.162, allocations: 143.9 kB / 1.648 GB, free: 356.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01352/5.175, allocations: 14.83 MB / 1.663 GB, free: 341.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.407e-05/5.176, allocations: 22.89 kB / 1.663 GB, free: 341.1 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02743/5.203, allocations: 12 MB / 1.674 GB, free: 328.7 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006251/5.209, allocations: 1.831 MB / 1.676 GB, free: 326.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00291/5.212, allocations: 116 kB / 1.676 GB, free: 326.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008789/5.221, allocations: 0.528 MB / 1.677 GB, free: 326.2 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001184/5.222, allocations: 382.8 kB / 1.677 GB, free: 325.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004567/5.223, allocations: 171.9 kB / 1.677 GB, free: 325.7 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0231/5.246, allocations: 7.273 MB / 1.684 GB, free: 318.4 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.222e-06/5.246, allocations: 0 / 1.684 GB, free: 318.4 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.01598/5.262, allocations: 2.454 MB / 1.687 GB, free: 316 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 54 * Number of states: 15 (outerWall.layMul.monLay[1].monLayDyn.T[1],outerWall.layMul.monLay[1].monLayDyn.T[2],outerWall.layMul.monLay[3].monLayDyn.T[1],outerWall.layMul.monLay[3].monLayDyn.T[2],outerWall.layMul.monLay[3].monLayDyn.T[3],zone1.airModel.vol.dynBal.U,zone1.airModel.vol.dynBal.mXi[1],winNonLin.heaCapGlaInt.T,winNonLin.heaCapFraIn.T,winNonLin.heaCapFraExt.T,winNonLin.heaCapGlaExt.T,winLin.heaCapGlaInt.T,winLin.heaCapFraIn.T,winLin.heaCapFraExt.T,winLin.heaCapGlaExt.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 (479): * Single equations (assignments): 470 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (2,14,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,18), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004243/5.266, allocations: 1.016 MB / 1.688 GB, free: 315.4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.02107/5.287, allocations: 8.956 MB / 1.696 GB, free: 306.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.137e-05/5.287, allocations: 4 kB / 1.696 GB, free: 306.3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.008943/5.296, allocations: 4.541 MB / 1.701 GB, free: 301.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03745/5.334, allocations: 2.88 MB / 1.704 GB, free: 298.8 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05724/5.391, allocations: 32.08 MB / 1.735 GB, free: 266.6 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0107/5.402, allocations: 7.924 MB / 1.743 GB, free: 258.6 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.01195/5.414, allocations: 2.466 MB / 1.745 GB, free: 256.1 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003245/5.417, allocations: 0.8272 MB / 1.746 GB, free: 255.3 MB / 0.9825 GB Notification: Performance of SimCode: time 1.493e-06/5.417, allocations: 0 / 1.746 GB, free: 255.3 MB / 0.9825 GB Notification: Performance of Templates: time 0.2323/5.649, allocations: 135.5 MB / 1.878 GB, free: 120.8 MB / 0.9825 GB make -j1 -f IDEAS_IDEAS.Buildings.Components.Examples.WindowLinearisation.makefile (rm -f IDEAS_IDEAS.Buildings.Components.Examples.WindowLinearisation.pipe ; mkfifo IDEAS_IDEAS.Buildings.Components.Examples.WindowLinearisation.pipe ; head -c 1048576 < IDEAS_IDEAS.Buildings.Components.Examples.WindowLinearisation.pipe >> ../files/IDEAS_IDEAS.Buildings.Components.Examples.WindowLinearisation.sim & ./IDEAS_IDEAS.Buildings.Components.Examples.WindowLinearisation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Buildings.Components.Examples.WindowLinearisation.pipe 2>&1)