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.001861/0.00186, allocations: 113 kB / 16.42 MB, free: 6.449 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.002266/0.002266, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.335/1.335, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.804/0.804, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 61.78 kB / 0.582 GB, free: 23.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1534, allocations: 80.22 MB / 0.6603 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.WindowLinearisation): time 0.7626/0.916, allocations: 394 MB / 1.045 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.5214/1.437, allocations: 49.72 MB / 1.094 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01469/1.452, allocations: 329 kB / 1.094 GB, free: 1.594 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/PartialSurface.mo:55:3-69:26:writable] Warning: Connector propsBus_a is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/ZoneBusVarMultiplicator.mo:8:3-16:27:writable] Warning: Connector propsBus_a is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/ZoneBusVarMultiplicator.mo:18:3-26:26:writable] Warning: Connector propsBus_b is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/PartialSurface.mo:145:3-157:26:writable] Warning: Connector propsBusInt is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/InterzonalAirFlow/BaseClasses/PartialInterzonalAirFlowBoundary.mo:21:3-22:72:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/PartialZone.mo:195:3-207:27:writable] Warning: Connector propsBusInt is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Zone.mo:6:3-18:28:writable] Warning: Connector propsBus is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/PartialSurface.mo:55:3-69:26:writable] Warning: Connector propsBus_a is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/ZoneBusVarMultiplicator.mo:8:3-16:27:writable] Warning: Connector propsBus_a is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/ZoneBusVarMultiplicator.mo:18:3-26:26:writable] Warning: Connector propsBus_b is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/PartialSurface.mo:145:3-157:26:writable] Warning: Connector propsBusInt is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/PartialSurface.mo:55:3-69:26:writable] Warning: Connector propsBus_a is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/ZoneBusVarMultiplicator.mo:8:3-16:27:writable] Warning: Connector propsBus_a is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/ZoneBusVarMultiplicator.mo:18:3-26:26:writable] Warning: Connector propsBus_b is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/PartialSurface.mo:145:3-157:26:writable] Warning: Connector propsBusInt is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.01184/1.464, allocations: 4.617 MB / 1.098 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02004/1.484, allocations: 6.544 MB / 1.105 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01237/1.497, allocations: 4.818 MB / 1.11 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.02422/1.521, allocations: 20.99 MB / 1.13 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02689/1.548, allocations: 18.84 MB / 1.148 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02006/1.568, allocations: 9.422 MB / 1.158 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01587/1.584, allocations: 8.625 MB / 1.166 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.005798/1.59, allocations: 1.949 MB / 1.168 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01413/1.604, allocations: 4.865 MB / 1.173 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.007678/1.611, allocations: 4.551 MB / 1.177 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.01748/1.629, allocations: 8.888 MB / 1.186 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.03526/1.664, allocations: 26.76 MB / 1.212 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.664, allocations: 0 / 1.212 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.884e-06/1.664, allocations: 0 / 1.212 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0008482/1.665, allocations: 0 / 1.212 GB, free: 14.69 MB / 0.8731 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.04141/1.707, allocations: 16.93 MB / 1.229 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/1.707, allocations: 12.03 kB / 1.229 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01726/1.724, allocations: 2.943 MB / 1.231 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02791/1.752, allocations: 13.88 MB / 1.245 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008592/1.753, allocations: 0.975 MB / 1.246 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003346/1.756, allocations: 1.119 MB / 1.247 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03434/1.79, allocations: 13.9 MB / 1.261 GB, free: 13.08 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002715/1.791, allocations: 15.28 kB / 1.261 GB, free: 13.07 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002534/1.793, allocations: 469.6 kB / 1.261 GB, free: 12.61 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000302/1.794, allocations: 379 kB / 1.261 GB, free: 12.24 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02843/1.822, allocations: 11.78 MB / 1.273 GB, free: 0.5 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.09069/1.913, allocations: 59.82 MB / 1.331 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01485/1.928, allocations: 7.232 MB / 1.338 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007391/1.935, allocations: 3.615 MB / 1.342 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002054/1.937, allocations: 1.939 MB / 1.344 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007903/1.945, allocations: 3.666 MB / 1.347 GB, free: 15.96 MB / 1.014 GB Notification: Performance of pre-optimization done (n=481): time 1.13e-05/1.945, allocations: 0 / 1.347 GB, free: 15.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=484): time 0.1045/2.05, allocations: 56.77 MB / 1.403 GB, free: 6.352 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003001/2.05, allocations: 0.7921 MB / 1.404 GB, free: 5.383 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01892/2.069, allocations: 10.68 MB / 1.414 GB, free: 10.74 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.001289/2.07, allocations: 117.7 kB / 1.414 GB, free: 10.62 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.006405/2.077, allocations: 6.705 MB / 1.421 GB, free: 3.902 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.002223/2.079, allocations: 1.681 MB / 1.422 GB, free: 2.238 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002677/2.082, allocations: 1.548 MB / 1.424 GB, free: 0.6836 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.832e-05/2.082, allocations: 301.1 kB / 1.424 GB, free: 396 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0074/2.089, allocations: 3.565 MB / 1.428 GB, free: 12.82 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008873/2.098, allocations: 5.263 MB / 1.433 GB, free: 6.957 MB / 1.092 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.8973/2.995, allocations: 47.31 MB / 1.479 GB, free: 0.5331 GB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.863e-05/2.996, allocations: 14.19 kB / 1.479 GB, free: 0.5331 GB / 1.092 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.0276/3.023, allocations: 11.18 MB / 1.49 GB, free: 0.5281 GB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 6.106e-05/3.023, allocations: 20.59 kB / 1.49 GB, free: 0.5281 GB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.792e-05/3.023, allocations: 45.92 kB / 1.49 GB, free: 0.5281 GB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004115/3.027, allocations: 1.301 MB / 1.491 GB, free: 0.5275 GB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008089/3.036, allocations: 1.688 MB / 1.493 GB, free: 0.527 GB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01733/3.053, allocations: 17.7 MB / 1.51 GB, free: 0.5107 GB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00932/3.062, allocations: 0.5845 MB / 1.511 GB, free: 0.5101 GB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001618/3.064, allocations: 336 kB / 1.511 GB, free: 0.5098 GB / 1.092 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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: 189 * 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 (862): * Single equations (assignments): 853 * 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.008824/3.073, allocations: 4.126 MB / 1.515 GB, free: 0.5058 GB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002942/3.076, allocations: 1.044 MB / 1.516 GB, free: 0.5053 GB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02175/3.098, allocations: 8.241 MB / 1.524 GB, free: 0.4973 GB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01352/3.111, allocations: 6.199 MB / 1.53 GB, free: 0.4912 GB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.592e-05/3.111, allocations: 4 kB / 1.53 GB, free: 0.4912 GB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004741/3.116, allocations: 1.76 MB / 1.532 GB, free: 0.49 GB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002819/3.119, allocations: 111.9 kB / 1.532 GB, free: 0.4899 GB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005948/3.125, allocations: 327.6 kB / 1.532 GB, free: 0.4896 GB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001094/3.126, allocations: 363.2 kB / 1.533 GB, free: 0.4892 GB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0188/3.145, allocations: 9.003 MB / 1.541 GB, free: 492.1 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02026/3.165, allocations: 12.46 MB / 1.554 GB, free: 479.9 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005677/3.171, allocations: 3.216 MB / 1.557 GB, free: 476.7 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.01315/3.184, allocations: 7.277 MB / 1.564 GB, free: 469.4 MB / 1.092 GB Notification: Performance of Backend: time 7.72e-07/3.184, allocations: 2.953 kB / 1.564 GB, free: 469.4 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.02463/3.209, allocations: 7.953 MB / 1.572 GB, free: 462 MB / 1.092 GB Notification: Performance of SimCode: time 0.04385/3.252, allocations: 25.86 MB / 1.597 GB, free: 436.2 MB / 1.092 GB Notification: Performance of Templates: time 0.2036/3.456, allocations: 146.6 MB / 1.74 GB, free: 290.6 MB / 1.092 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)