Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.Examples.Window.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.HeatTransfer.Windows.Examples.Window,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|window.glaUns.u|window.glaUns.glass_a.T|window.glaUns.glass_b.T|window.glaSha.glass_a.T|window.glaSha.glass_b.T|extCon.radOut.TRad",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.Examples.Window") translateModel(Buildings.HeatTransfer.Windows.Examples.Window,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|window.glaUns.u|window.glaUns.glass_a.T|window.glaUns.glass_b.T|window.glaSha.glass_a.T|window.glaSha.glass_b.T|extCon.radOut.TRad",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.Examples.Window") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001042/0.001042, allocations: 183.9 kB / 17.34 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.331/1.331, 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/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.459/2.459, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 71.89 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6968/0.6982, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Window): time 0.01612/0.7144, allocations: 14.42 MB / 1.181 GB, free: 5.375 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1705/0.8849, allocations: 163.5 MB / 1.341 GB, free: 1.211 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002651/0.8875, allocations: 67.69 kB / 1.341 GB, free: 1.145 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.006406/0.894, allocations: 2.523 MB / 1.344 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005526/0.8995, allocations: 1.909 MB / 1.345 GB, free: 12.7 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00553/0.905, allocations: 2.459 MB / 1.348 GB, free: 10.24 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.008375/0.9134, allocations: 8.313 MB / 1.356 GB, free: 1.906 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002778/0.9162, allocations: 2.191 MB / 1.358 GB, free: 15.64 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003504/0.9197, allocations: 2.777 MB / 1.361 GB, free: 12.86 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002794/0.9225, allocations: 2.631 MB / 1.363 GB, free: 10.22 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0006389/0.9232, allocations: 0.5273 MB / 1.364 GB, free: 9.691 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00439/0.9276, allocations: 2.848 MB / 1.367 GB, free: 6.84 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002605/0.9302, allocations: 3.385 MB / 1.37 GB, free: 3.449 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002449/0.9327, allocations: 2.542 MB / 1.373 GB, free: 0.8945 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008761/0.9414, allocations: 8.486 MB / 1.381 GB, free: 8.379 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.9415, allocations: 0 / 1.381 GB, free: 8.379 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.774e-06/0.9415, allocations: 0 / 1.381 GB, free: 8.379 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.014e-05/0.9415, allocations: 0 / 1.381 GB, free: 8.379 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 680 * Number of variables: 680 Notification: Performance of Generate backend data structure: time 0.009341/0.9509, allocations: 5.841 MB / 1.386 GB, free: 2.441 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.9509, allocations: 12.88 kB / 1.387 GB, free: 2.43 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03025/0.9812, allocations: 4.878 MB / 1.391 GB, free: 13.54 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0347/1.016, allocations: 12.54 MB / 1.404 GB, free: 0.9375 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/1.016, allocations: 225.2 kB / 1.404 GB, free: 0.7148 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006953/1.017, allocations: 300 kB / 1.404 GB, free: 432 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00992/1.027, allocations: 4.68 MB / 1.409 GB, free: 11.61 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.697e-05/1.027, allocations: 0 / 1.409 GB, free: 11.61 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003153/1.027, allocations: 108 kB / 1.409 GB, free: 11.51 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.901e-05/1.027, allocations: 64 kB / 1.409 GB, free: 11.45 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009297/1.036, allocations: 4.258 MB / 1.413 GB, free: 7.172 MB / 1.139 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.02412/1.061, allocations: 20.45 MB / 1.433 GB, free: 1.645 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008949/1.07, allocations: 4.096 MB / 1.437 GB, free: 13.54 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006573/1.076, allocations: 2.954 MB / 1.44 GB, free: 10.58 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004694/1.077, allocations: 438.4 kB / 1.44 GB, free: 10.08 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007138/1.084, allocations: 3.171 MB / 1.443 GB, free: 6.887 MB / 1.17 GB Notification: Performance of pre-optimization done (n=213): time 3.798e-06/1.084, allocations: 0 / 1.443 GB, free: 6.887 MB / 1.17 GB Notification: Performance of matching and sorting (n=213): time 0.04848/1.132, allocations: 14.22 MB / 1.457 GB, free: 8.574 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002174/1.133, allocations: 377.2 kB / 1.458 GB, free: 8.152 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01577/1.148, allocations: 12.91 MB / 1.47 GB, free: 11.26 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0006033/1.149, allocations: 81.7 kB / 1.47 GB, free: 11.17 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001735/1.151, allocations: 1.689 MB / 1.472 GB, free: 9.469 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008262/1.152, allocations: 0.7476 MB / 1.473 GB, free: 8.715 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003448/1.155, allocations: 3.024 MB / 1.476 GB, free: 5.672 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 7.859e-05/1.155, allocations: 301.1 kB / 1.476 GB, free: 5.375 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0262/1.181, allocations: 22.89 MB / 1.498 GB, free: 14.46 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02671/1.208, allocations: 23.6 MB / 1.521 GB, free: 6.754 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03558/1.244, allocations: 27.53 MB / 1.548 GB, free: 11.1 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/1.244, allocations: 3.938 kB / 1.548 GB, free: 11.09 MB / 1.279 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.6606/1.904, allocations: 51.57 MB / 1.598 GB, free: 353 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001724/1.904, allocations: 164.6 kB / 1.599 GB, free: 352.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0403/1.945, allocations: 37.22 MB / 1.635 GB, free: 317.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08908/2.034, allocations: 11.53 MB / 1.646 GB, free: 306.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005332/2.039, allocations: 0.9088 MB / 1.647 GB, free: 305.2 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/2.049, allocations: 8.343 MB / 1.655 GB, free: 296.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006598/2.056, allocations: 0.7746 MB / 1.656 GB, free: 295.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005325/2.056, allocations: 199.6 kB / 1.656 GB, free: 295.7 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02271/2.079, allocations: 24.51 MB / 1.68 GB, free: 271.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02247/2.102, allocations: 23.58 MB / 1.703 GB, free: 247.5 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02902/2.131, allocations: 27.49 MB / 1.73 GB, free: 219.9 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.199e-05/2.131, allocations: 0 / 1.73 GB, free: 219.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=1099) (initialization_lambda0): time 0.0527/2.184, allocations: 50.58 MB / 1.779 GB, free: 169.7 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001677/2.184, allocations: 169.6 kB / 1.78 GB, free: 169.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03978/2.223, allocations: 36.85 MB / 1.816 GB, free: 132.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003361/2.227, allocations: 1.161 MB / 1.817 GB, free: 131.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005983/2.233, allocations: 1.041 MB / 1.818 GB, free: 130.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01229/2.245, allocations: 12.65 MB / 1.83 GB, free: 117.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006742/2.252, allocations: 0.7229 MB / 1.831 GB, free: 116.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006068/2.253, allocations: 199.8 kB / 1.831 GB, free: 116.3 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$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 (323): * Single equations (assignments): 282 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(12,49), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009676/2.254, allocations: 491.5 kB / 1.831 GB, free: 115.8 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006713/2.254, allocations: 377.5 kB / 1.832 GB, free: 115.5 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02035/2.275, allocations: 8.546 MB / 1.84 GB, free: 106.9 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.119e-05/2.275, allocations: 8.078 kB / 1.84 GB, free: 106.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01508/2.29, allocations: 6.572 MB / 1.847 GB, free: 100.3 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001734/2.291, allocations: 1.02 MB / 1.848 GB, free: 99.29 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005849/2.292, allocations: 49.78 kB / 1.848 GB, free: 99.25 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003785/2.296, allocations: 381.4 kB / 1.848 GB, free: 98.88 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003002/2.296, allocations: 161.8 kB / 1.848 GB, free: 98.71 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02616/2.322, allocations: 8.783 MB / 1.857 GB, free: 89.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02006/2.342, allocations: 9.547 MB / 1.866 GB, free: 80.32 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006266/2.349, allocations: 3.256 MB / 1.869 GB, free: 77.06 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.005919/2.355, allocations: 8.189 MB / 1.877 GB, free: 68.86 MB / 1.279 GB Notification: Performance of Backend: time 6.21e-07/2.355, allocations: 0 / 1.877 GB, free: 68.86 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.05374/2.408, allocations: 59.03 MB / 1.935 GB, free: 10.07 MB / 1.279 GB Notification: Performance of SimCode: time 0.01767/2.426, allocations: 15.18 MB / 1.95 GB, free: 10.84 MB / 1.295 GB Notification: Performance of Templates: time 0.7735/3.2, allocations: 160.3 MB / 2.106 GB, free: 0.5167 GB / 1.436 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.Window.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.Window.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.Examples.Window.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.Examples.Window.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.Window.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.Examples.Window -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.Examples.Window.pipe 2>&1)