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.001452/0.001452, allocations: 110.5 kB / 16.42 MB, free: 6.496 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.001411/0.001412, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.443/1.443, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8433/0.8433, allocations: 132.2 MB / 423.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 67.52 kB / 0.582 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1974, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.WindowDynamics): time 0.9627/1.16, allocations: 401.8 MB / 1.053 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.788/1.948, allocations: 49.31 MB / 1.101 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02068/1.969, allocations: 349.3 kB / 1.101 GB, free: 1.645 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.01572/1.985, allocations: 4.542 MB / 1.106 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02945/2.014, allocations: 6.947 MB / 1.112 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01827/2.032, allocations: 5.095 MB / 1.117 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.03671/2.069, allocations: 21.64 MB / 1.139 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04081/2.11, allocations: 19.5 MB / 1.158 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0267/2.137, allocations: 9.748 MB / 1.167 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02072/2.157, allocations: 8.98 MB / 1.176 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.009228/2.167, allocations: 2.007 MB / 1.178 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02006/2.187, allocations: 4.916 MB / 1.183 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.01016/2.197, allocations: 4.843 MB / 1.187 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.02498/2.222, allocations: 9.324 MB / 1.196 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.05334/2.275, allocations: 28.07 MB / 1.224 GB, free: 5.484 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/2.276, allocations: 0 / 1.224 GB, free: 5.484 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.994e-06/2.276, allocations: 0 / 1.224 GB, free: 5.484 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.001319/2.277, allocations: 0 / 1.224 GB, free: 5.484 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: 3036 * Number of variables: 3036 Notification: Performance of Generate backend data structure: time 0.06688/2.344, allocations: 18.5 MB / 1.242 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 8.333e-05/2.344, allocations: 8.031 kB / 1.242 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02157/2.365, allocations: 3.134 MB / 1.245 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04045/2.406, allocations: 15.18 MB / 1.26 GB, free: 1.051 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001176/2.407, allocations: 0.9837 MB / 1.261 GB, free: 52 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00497/2.412, allocations: 1.148 MB / 1.262 GB, free: 14.9 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04963/2.462, allocations: 14.33 MB / 1.276 GB, free: 376 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006071/2.463, allocations: 9.062 kB / 1.276 GB, free: 372 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004595/2.467, allocations: 490.1 kB / 1.276 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004565/2.468, allocations: 391.2 kB / 1.277 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03574/2.503, allocations: 12.14 MB / 1.289 GB, free: 3.406 MB / 0.9356 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.1126/2.616, allocations: 62.29 MB / 1.349 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0158/2.632, allocations: 7.711 MB / 1.357 GB, free: 9.504 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0079/2.64, allocations: 3.659 MB / 1.361 GB, free: 5.809 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001825/2.642, allocations: 1.396 MB / 1.362 GB, free: 4.164 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008005/2.65, allocations: 3.783 MB / 1.366 GB, free: 316 kB / 1.014 GB Notification: Performance of pre-optimization done (n=506): time 1.007e-05/2.65, allocations: 3.938 kB / 1.366 GB, free: 312 kB / 1.014 GB Notification: Performance of matching and sorting (n=508): time 0.1721/2.822, allocations: 66.15 MB / 1.43 GB, free: 13.64 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004264/2.822, allocations: 0.8434 MB / 1.431 GB, free: 12.61 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02906/2.851, allocations: 11.68 MB / 1.442 GB, free: 0.9922 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.001685/2.853, allocations: 125.7 kB / 1.443 GB, free: 0.8633 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.5383/3.392, allocations: 7.345 MB / 1.45 GB, free: 0.5444 GB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.003232/3.395, allocations: 1.84 MB / 1.452 GB, free: 0.544 GB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003944/3.399, allocations: 1.595 MB / 1.453 GB, free: 0.5434 GB / 1.092 GB Notification: Performance of setup shared object (initialization): time 6.514e-05/3.399, allocations: 301.1 kB / 1.453 GB, free: 0.5431 GB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01014/3.409, allocations: 3.668 MB / 1.457 GB, free: 0.5418 GB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01334/3.422, allocations: 5.351 MB / 1.462 GB, free: 0.5387 GB / 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.2174/3.64, allocations: 47.84 MB / 1.509 GB, free: 0.5242 GB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.88e-05/3.64, allocations: 12 kB / 1.509 GB, free: 0.5242 GB / 1.092 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.02594/3.666, allocations: 11.63 MB / 1.52 GB, free: 0.5128 GB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 7.979e-05/3.666, allocations: 23.98 kB / 1.52 GB, free: 0.5128 GB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.153e-05/3.666, allocations: 44 kB / 1.52 GB, free: 0.5128 GB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003993/3.67, allocations: 1.375 MB / 1.522 GB, free: 0.5114 GB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008091/3.678, allocations: 1.7 MB / 1.523 GB, free: 0.5097 GB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01712/3.695, allocations: 16.61 MB / 1.54 GB, free: 0.4929 GB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01076/3.706, allocations: 0.594 MB / 1.54 GB, free: 0.4923 GB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001909/3.708, allocations: 346.8 kB / 1.541 GB, free: 0.492 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 (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 (870): * Single equations (assignments): 863 * 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.009376/3.718, allocations: 4.377 MB / 1.545 GB, free: 499.4 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002893/3.721, allocations: 1.195 MB / 1.546 GB, free: 498.2 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01666/3.737, allocations: 8.579 MB / 1.554 GB, free: 489.5 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01098/3.748, allocations: 6.413 MB / 1.561 GB, free: 482.9 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.529e-05/3.748, allocations: 12 kB / 1.561 GB, free: 482.9 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005131/3.753, allocations: 1.914 MB / 1.562 GB, free: 481 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002679/3.756, allocations: 115.8 kB / 1.563 GB, free: 480.8 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005964/3.762, allocations: 331.6 kB / 1.563 GB, free: 480.5 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007388/3.763, allocations: 387.3 kB / 1.563 GB, free: 480.1 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01614/3.779, allocations: 9.389 MB / 1.572 GB, free: 470.7 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01781/3.797, allocations: 12.96 MB / 1.585 GB, free: 457.5 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004665/3.802, allocations: 3.229 MB / 1.588 GB, free: 454.3 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.01387/3.815, allocations: 7.971 MB / 1.596 GB, free: 446.4 MB / 1.092 GB Notification: Performance of Backend: time 1.182e-06/3.815, allocations: 0 / 1.596 GB, free: 446.4 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.02758/3.843, allocations: 8.047 MB / 1.604 GB, free: 438.7 MB / 1.092 GB Notification: Performance of SimCode: time 0.05037/3.893, allocations: 28.04 MB / 1.631 GB, free: 410.7 MB / 1.092 GB Notification: Performance of Templates: time 0.2414/4.135, allocations: 154.6 MB / 1.782 GB, free: 257.2 MB / 1.092 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)