Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001403/0.001403, allocations: 117.8 kB / 16.42 MB, free: 6.02 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.001443/0.001443, allocations: 183.8 kB / 17.35 MB, free: 5.625 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.385/1.385, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.763/2.763, allocations: 472.7 MB / 0.746 GB, free: 420 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001167, allocations: 68.08 kB / 1.07 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.74/0.7412, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow): time 0.2266/0.9678, allocations: 234.7 MB / 1.456 GB, free: 1.895 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.05967/1.028, allocations: 41.49 MB / 1.496 GB, free: 8.27 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01162/1.039, allocations: 350.1 kB / 1.496 GB, free: 7.926 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.01693/1.056, allocations: 7.403 MB / 1.504 GB, free: 500 kB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01667/1.073, allocations: 6.193 MB / 1.51 GB, free: 10.27 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01287/1.086, allocations: 5.396 MB / 1.515 GB, free: 4.887 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.05032/1.136, allocations: 48.29 MB / 1.562 GB, free: 4.531 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 1.369/2.505, allocations: 17.67 MB / 1.579 GB, free: 21.59 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03171/2.536, allocations: 20.37 MB / 1.599 GB, free: 20.61 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02322/2.56, allocations: 15.01 MB / 1.614 GB, free: 17.96 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.009423/2.569, allocations: 2.688 MB / 1.617 GB, free: 17.96 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01881/2.588, allocations: 6.88 MB / 1.623 GB, free: 17.96 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.01517/2.603, allocations: 11.6 MB / 1.635 GB, free: 16.9 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.02668/2.63, allocations: 14.98 MB / 1.649 GB, free: 12.76 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.05806/2.688, allocations: 51.61 MB / 1.7 GB, free: 300 kB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/2.688, allocations: 0 / 1.7 GB, free: 300 kB / 1.279 GB Notification: Performance of FrontEnd: time 1.533e-06/2.688, allocations: 0 / 1.7 GB, free: 300 kB / 1.279 GB Notification: Performance of Transformations before backend: time 0.001389/2.689, allocations: 2.625 kB / 1.7 GB, free: 300 kB / 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.09422/2.784, allocations: 35.56 MB / 1.734 GB, free: 8.523 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/2.784, allocations: 12.03 kB / 1.734 GB, free: 8.512 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03766/2.821, allocations: 7.38 MB / 1.742 GB, free: 1.109 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08453/2.906, allocations: 43.66 MB / 1.784 GB, free: 6.133 MB / 1.358 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001322/2.907, allocations: 1.376 MB / 1.786 GB, free: 4.602 MB / 1.358 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004738/2.912, allocations: 0.9268 MB / 1.786 GB, free: 3.68 MB / 1.358 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02995/2.942, allocations: 13.3 MB / 1.799 GB, free: 6.059 MB / 1.373 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001243/2.942, allocations: 13.38 kB / 1.799 GB, free: 6.055 MB / 1.373 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008821/2.943, allocations: 272 kB / 1.8 GB, free: 5.789 MB / 1.373 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001904/2.943, allocations: 246 kB / 1.8 GB, free: 5.547 MB / 1.373 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02826/2.971, allocations: 13.29 MB / 1.813 GB, free: 8.312 MB / 1.389 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.1623/3.134, allocations: 83.85 MB / 1.895 GB, free: 2.91 MB / 1.467 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02201/3.156, allocations: 10.29 MB / 1.905 GB, free: 8.617 MB / 1.483 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01456/3.17, allocations: 7.248 MB / 1.912 GB, free: 1.371 MB / 1.483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001506/3.172, allocations: 0.8327 MB / 1.913 GB, free: 416 kB / 1.483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01409/3.186, allocations: 6.539 MB / 1.919 GB, free: 9.852 MB / 1.498 GB Notification: Performance of pre-optimization done (n=484): time 8.867e-06/3.186, allocations: 0 / 1.919 GB, free: 9.852 MB / 1.498 GB Notification: Performance of matching and sorting (n=484): time 0.07178/3.258, allocations: 27.18 MB / 1.946 GB, free: 14.39 MB / 1.529 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002982/3.258, allocations: 395.4 kB / 1.946 GB, free: 13.96 MB / 1.529 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1444/3.403, allocations: 63.31 MB / 2.008 GB, free: 14.83 MB / 1.592 GB Notification: Performance of collectPreVariables (initialization): time 0.003202/3.406, allocations: 237.8 kB / 2.008 GB, free: 14.59 MB / 1.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.0223/3.428, allocations: 11.66 MB / 2.02 GB, free: 2.98 MB / 1.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.003569/3.432, allocations: 1.782 MB / 2.021 GB, free: 1.227 MB / 1.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01652/3.448, allocations: 7.69 MB / 2.029 GB, free: 9.531 MB / 1.608 GB Notification: Performance of setup shared object (initialization): time 8.209e-05/3.449, allocations: 301.1 kB / 2.029 GB, free: 9.234 MB / 1.608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0571/3.506, allocations: 52.42 MB / 2.08 GB, free: 4.797 MB / 1.654 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06437/3.57, allocations: 57.26 MB / 2.136 GB, free: 9.941 MB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7957/4.366, allocations: 69.9 MB / 2.204 GB, free: 0.6928 GB / 1.764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001658/4.366, allocations: 36.06 kB / 2.204 GB, free: 0.6928 GB / 1.764 GB Notification: Performance of matching and sorting (n=2910) (initialization): time 0.1462/4.512, allocations: 125.8 MB / 2.327 GB, free: 0.6274 GB / 1.764 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003297/4.513, allocations: 302.3 kB / 2.328 GB, free: 0.6271 GB / 1.764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09051/4.603, allocations: 87.14 MB / 2.413 GB, free: 0.5476 GB / 1.764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1087/4.712, allocations: 37.07 MB / 2.449 GB, free: 0.5139 GB / 1.764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01593/4.728, allocations: 3.268 MB / 2.452 GB, free: 0.5107 GB / 1.764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02476/4.753, allocations: 32.05 MB / 2.483 GB, free: 488.8 MB / 1.764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02568/4.778, allocations: 2.98 MB / 2.486 GB, free: 486.6 MB / 1.764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004147/4.783, allocations: 0.5592 MB / 2.487 GB, free: 486 MB / 1.764 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.06887/4.851, allocations: 65.63 MB / 2.551 GB, free: 420.4 MB / 1.764 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.05353/4.905, allocations: 57.18 MB / 2.607 GB, free: 361.5 MB / 1.764 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06614/4.971, allocations: 69.8 MB / 2.675 GB, free: 289.9 MB / 1.764 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001288/4.971, allocations: 36 kB / 2.675 GB, free: 289.9 MB / 1.764 GB Notification: Performance of matching and sorting (n=2910) (initialization_lambda0): time 0.1407/5.112, allocations: 125.2 MB / 2.797 GB, free: 164.8 MB / 1.764 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003802/5.112, allocations: 295.3 kB / 2.797 GB, free: 164.5 MB / 1.764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09428/5.207, allocations: 87.35 MB / 2.883 GB, free: 76.74 MB / 1.764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008087/5.215, allocations: 3.092 MB / 2.886 GB, free: 73.61 MB / 1.764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01495/5.23, allocations: 3.252 MB / 2.889 GB, free: 70.35 MB / 1.764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02752/5.257, allocations: 34.39 MB / 2.923 GB, free: 34.31 MB / 1.764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02331/5.281, allocations: 2.638 MB / 2.925 GB, free: 31.87 MB / 1.764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003528/5.284, allocations: 0.554 MB / 2.926 GB, free: 31.32 MB / 1.764 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.003419/5.288, allocations: 1.105 MB / 2.927 GB, free: 30.28 MB / 1.764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007975/5.296, allocations: 2.499 MB / 2.929 GB, free: 27.76 MB / 1.764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03423/5.33, allocations: 18.24 MB / 2.947 GB, free: 9.461 MB / 1.764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.7402/6.07, allocations: 14.68 MB / 2.961 GB, free: 0.6957 GB / 1.764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.07247/6.143, allocations: 20.81 MB / 2.982 GB, free: 0.6954 GB / 1.764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01756/6.16, allocations: 6.4 MB / 2.988 GB, free: 0.6953 GB / 1.764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009672/6.17, allocations: 151.4 kB / 2.988 GB, free: 0.6953 GB / 1.764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01743/6.187, allocations: 1.325 MB / 2.989 GB, free: 0.6953 GB / 1.764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001713/6.189, allocations: 316 kB / 2.99 GB, free: 0.6953 GB / 1.764 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04664/6.236, allocations: 19.24 MB / 3.008 GB, free: 0.6918 GB / 1.764 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04404/6.28, allocations: 23.45 MB / 3.031 GB, free: 0.6843 GB / 1.764 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01086/6.291, allocations: 7.415 MB / 3.039 GB, free: 0.6816 GB / 1.764 GB Notification: Performance of sorting global known variables: time 0.07352/6.364, allocations: 43.04 MB / 3.081 GB, free: 0.645 GB / 1.764 GB Notification: Performance of Backend: time 1.082e-06/6.364, allocations: 0 / 3.081 GB, free: 0.645 GB / 1.764 GB Notification: Performance of simCode: created initialization part: time 0.1457/6.51, allocations: 136.2 MB / 3.214 GB, free: 0.5125 GB / 1.764 GB Notification: Performance of SimCode: time 0.1333/6.643, allocations: 78.98 MB / 3.291 GB, free: 446.1 MB / 1.764 GB Notification: Performance of Templates: time 2.136/8.78, allocations: 0.5446 GB / 3.835 GB, free: 0.6137 GB / 1.764 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.pipe 2>&1)