Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.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.ThermalZones.Detailed.Examples.ElectroChromicWindow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conWin.T|weaBus.TDryBul|conWin.H|conWin.y",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conWin.T|weaBus.TDryBul|conWin.H|conWin.y",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 108.5 kB / 16.41 MB, free: 6.406 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.001058/0.001058, allocations: 192.3 kB / 17.35 MB, free: 5.691 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.07 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.442/2.442, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 59.91 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7141/0.7154, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow): time 0.2215/0.9369, allocations: 234.8 MB / 1.397 GB, free: 8.141 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.06232/0.9993, allocations: 41.52 MB / 1.437 GB, free: 14.5 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01146/1.011, allocations: 354.1 kB / 1.437 GB, free: 14.15 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.01774/1.029, allocations: 7.389 MB / 1.445 GB, free: 6.727 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0192/1.048, allocations: 6.207 MB / 1.451 GB, free: 0.4922 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.01386/1.062, allocations: 5.385 MB / 1.456 GB, free: 11.11 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.05066/1.112, allocations: 48.3 MB / 1.503 GB, free: 10.74 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02625/1.139, allocations: 17.67 MB / 1.52 GB, free: 8.941 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03045/1.169, allocations: 20.38 MB / 1.54 GB, free: 4.52 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02199/1.191, allocations: 15 MB / 1.555 GB, free: 5.469 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.008142/1.199, allocations: 2.695 MB / 1.558 GB, free: 2.773 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 1.23/2.429, allocations: 6.87 MB / 1.564 GB, free: 70.52 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.01481/2.444, allocations: 11.6 MB / 1.576 GB, free: 70.52 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.02824/2.472, allocations: 14.98 MB / 1.59 GB, free: 68.54 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.06074/2.533, allocations: 51.45 MB / 1.641 GB, free: 62.85 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/2.533, allocations: 0 / 1.641 GB, free: 62.85 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.244e-06/2.533, allocations: 0 / 1.641 GB, free: 62.85 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.001581/2.534, allocations: 0.875 kB / 1.641 GB, free: 62.85 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1670 * Number of variables: 1670 Notification: Performance of Generate backend data structure: time 0.1055/2.64, allocations: 34.61 MB / 1.674 GB, free: 50.3 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/2.64, allocations: 7.406 kB / 1.674 GB, free: 50.3 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03753/2.678, allocations: 7.239 MB / 1.681 GB, free: 48.6 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07805/2.756, allocations: 43.41 MB / 1.724 GB, free: 28.63 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00123/2.757, allocations: 1.377 MB / 1.725 GB, free: 27.1 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005107/2.762, allocations: 0.9206 MB / 1.726 GB, free: 26.18 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0327/2.795, allocations: 13.3 MB / 1.739 GB, free: 12.61 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002812/2.795, allocations: 17.28 kB / 1.739 GB, free: 12.61 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003114/2.798, allocations: 272.9 kB / 1.739 GB, free: 12.34 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000208/2.798, allocations: 248.8 kB / 1.74 GB, free: 12.1 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02925/2.828, allocations: 13.28 MB / 1.753 GB, free: 14.89 MB / 1.295 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.172/3, allocations: 83.78 MB / 1.834 GB, free: 9.586 MB / 1.373 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0236/3.023, allocations: 10.28 MB / 1.844 GB, free: 15.31 MB / 1.389 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01485/3.038, allocations: 7.245 MB / 1.851 GB, free: 8.062 MB / 1.389 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/3.04, allocations: 0.8347 MB / 1.852 GB, free: 7.098 MB / 1.389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01454/3.054, allocations: 6.539 MB / 1.859 GB, free: 0.543 MB / 1.389 GB Notification: Performance of pre-optimization done (n=484): time 9.137e-06/3.054, allocations: 0 / 1.859 GB, free: 0.543 MB / 1.389 GB Notification: Performance of matching and sorting (n=484): time 0.07485/3.129, allocations: 27.05 MB / 1.885 GB, free: 5.191 MB / 1.42 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003199/3.13, allocations: 391.5 kB / 1.885 GB, free: 4.766 MB / 1.42 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1383/3.268, allocations: 63.31 MB / 1.947 GB, free: 5.633 MB / 1.483 GB Notification: Performance of collectPreVariables (initialization): time 0.003371/3.271, allocations: 237.7 kB / 1.948 GB, free: 5.395 MB / 1.483 GB Notification: Performance of collectInitialEqns (initialization): time 0.02361/3.295, allocations: 11.59 MB / 1.959 GB, free: 9.938 MB / 1.498 GB Notification: Performance of collectInitialBindings (initialization): time 0.003828/3.299, allocations: 1.701 MB / 1.96 GB, free: 8.254 MB / 1.498 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01758/3.316, allocations: 7.589 MB / 1.968 GB, free: 0.6523 MB / 1.498 GB Notification: Performance of setup shared object (initialization): time 8.643e-05/3.317, allocations: 309 kB / 1.968 GB, free: 356 kB / 1.498 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0595/3.376, allocations: 52.43 MB / 2.019 GB, free: 11.91 MB / 1.561 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0646/3.441, allocations: 57.26 MB / 2.075 GB, free: 1.051 MB / 1.608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08463/3.525, allocations: 69.9 MB / 2.144 GB, free: 9.777 MB / 1.686 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001322/3.526, allocations: 35.19 kB / 2.144 GB, free: 9.746 MB / 1.686 GB Notification: Performance of matching and sorting (n=2910) (initialization): time 0.7621/4.288, allocations: 125.6 MB / 2.266 GB, free: 0.6481 GB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003901/4.288, allocations: 294.9 kB / 2.267 GB, free: 0.6478 GB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09279/4.381, allocations: 87.16 MB / 2.352 GB, free: 0.5686 GB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1114/4.492, allocations: 37.06 MB / 2.388 GB, free: 0.5385 GB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01876/4.511, allocations: 3.272 MB / 2.391 GB, free: 0.5355 GB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.025/4.536, allocations: 32.03 MB / 2.422 GB, free: 0.5023 GB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02691/4.563, allocations: 2.945 MB / 2.425 GB, free: 0.4998 GB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003992/4.567, allocations: 0.5682 MB / 2.426 GB, free: 0.4992 GB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.06871/4.636, allocations: 65.63 MB / 2.49 GB, free: 445.6 MB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.05129/4.687, allocations: 57.19 MB / 2.546 GB, free: 386.9 MB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07385/4.761, allocations: 69.79 MB / 2.614 GB, free: 315.4 MB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001901/4.761, allocations: 39.94 kB / 2.614 GB, free: 315.3 MB / 1.701 GB Notification: Performance of matching and sorting (n=2910) (initialization_lambda0): time 0.136/4.897, allocations: 125 MB / 2.736 GB, free: 189.9 MB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003245/4.898, allocations: 297.5 kB / 2.736 GB, free: 189.6 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09284/4.991, allocations: 87.36 MB / 2.822 GB, free: 101.8 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008553/4.999, allocations: 3.088 MB / 2.825 GB, free: 98.72 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01653/5.016, allocations: 3.256 MB / 2.828 GB, free: 95.46 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03014/5.046, allocations: 34.36 MB / 2.861 GB, free: 59.45 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0269/5.073, allocations: 2.616 MB / 2.864 GB, free: 56.96 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004006/5.077, allocations: 0.5571 MB / 2.864 GB, free: 56.4 MB / 1.701 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 526 * Number of states: 0 () * Number of discrete variables: 40 (weaDat1.conTim.canRepeatWeatherFile,weaDat1.conTimMin.canRepeatWeatherFile,roo.solRadExc.is_flo[12],roo.solRadExc.is_flo[11],roo.solRadExc.is_flo[10],roo.solRadExc.is_flo[9],roo.solRadExc.is_flo[8],roo.solRadExc.is_flo[7],roo.solRadExc.is_flo[6],roo.solRadExc.is_flo[5],roo.solRadExc.is_flo[4],roo.solRadExc.is_flo[3],roo.solRadExc.is_flo[2],roo.solRadExc.is_flo[1],nPer.count,$PRE.nPer.count,nPer.T_start,$PRE.nPer.T_start,weaDat1.decAng.tNext,$PRE.weaDat1.decAng.tNext,weaDat1.eqnTim.tNext,$PRE.weaDat1.eqnTim.tNext,weaDat1.conTim.tNext,$PRE.weaDat1.conTim.tNext,weaDat1.conTimMin.tNext,$PRE.weaDat1.conTimMin.tNext,weaDat1.locTim.tNext,$PRE.weaDat1.locTim.tNext,roo.bouConExtWin.HDifTil[1].incAng.decAng.tNext,$PRE.roo.bouConExtWin.HDifTil[1].incAng.decAng.tNext,roo.bouConExtWin.HDirTil[1].incAng.decAng.tNext,$PRE.roo.bouConExtWin.HDirTil[1].incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1377): * Single equations (assignments): 1319 * Array equations: 39 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 12 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(14,53), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.004947/5.082, allocations: 1.099 MB / 2.866 GB, free: 55.29 MB / 1.701 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008613/5.091, allocations: 2.363 MB / 2.868 GB, free: 52.9 MB / 1.701 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0435/5.134, allocations: 18.25 MB / 2.886 GB, free: 34.59 MB / 1.701 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03017/5.164, allocations: 14.68 MB / 2.9 GB, free: 19.82 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.7321/5.896, allocations: 20.8 MB / 2.92 GB, free: 0.6818 GB / 1.701 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01944/5.916, allocations: 6.272 MB / 2.926 GB, free: 0.6817 GB / 1.701 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009891/5.926, allocations: 149.7 kB / 2.927 GB, free: 0.6817 GB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02203/5.948, allocations: 1.32 MB / 2.928 GB, free: 0.6817 GB / 1.701 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002381/5.95, allocations: 326 kB / 2.928 GB, free: 0.6817 GB / 1.701 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04659/5.997, allocations: 19.22 MB / 2.947 GB, free: 0.6813 GB / 1.701 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04333/6.04, allocations: 23.32 MB / 2.97 GB, free: 0.6747 GB / 1.701 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01055/6.051, allocations: 7.426 MB / 2.977 GB, free: 0.672 GB / 1.701 GB Notification: Performance of sorting global known variables: time 0.07005/6.121, allocations: 43.03 MB / 3.019 GB, free: 0.6511 GB / 1.701 GB Notification: Performance of Backend: time 1.001e-06/6.121, allocations: 0 / 3.019 GB, free: 0.6511 GB / 1.701 GB Notification: Performance of simCode: created initialization part: time 0.148/6.269, allocations: 136.1 MB / 3.152 GB, free: 0.5203 GB / 1.701 GB Notification: Performance of SimCode: time 0.1442/6.413, allocations: 78.03 MB / 3.228 GB, free: 455.3 MB / 1.701 GB Notification: Performance of Templates: time 2.272/8.685, allocations: 0.5446 GB / 3.773 GB, free: 0.6088 GB / 1.701 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.pipe 2>&1)