Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00166/0.00166, allocations: 110.1 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.001724/0.001724, allocations: 188.3 kB / 17.35 MB, free: 5.762 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.17/2.17, allocations: 390.2 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 59.91 kB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6923/0.6937, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow): time 0.2316/0.9254, allocations: 230.9 MB / 1.314 GB, free: 6.613 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.05814/0.9836, allocations: 40.79 MB / 1.354 GB, free: 13.71 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01744/1.001, allocations: 354.1 kB / 1.354 GB, free: 13.36 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01803/1.019, allocations: 7.321 MB / 1.361 GB, free: 6.004 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01625/1.035, allocations: 6.023 MB / 1.367 GB, free: 15.95 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.01291/1.048, allocations: 5.339 MB / 1.372 GB, free: 10.62 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.04857/1.097, allocations: 47.93 MB / 1.419 GB, free: 10.62 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02359/1.121, allocations: 17.75 MB / 1.437 GB, free: 8.746 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02817/1.149, allocations: 20.31 MB / 1.456 GB, free: 4.398 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02091/1.17, allocations: 14.96 MB / 1.471 GB, free: 5.391 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.007966/1.178, allocations: 2.691 MB / 1.474 GB, free: 2.699 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01648/1.194, allocations: 6.88 MB / 1.48 GB, free: 11.81 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.01499/1.209, allocations: 11.6 MB / 1.492 GB, free: 192 kB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.02434/1.234, allocations: 14.91 MB / 1.506 GB, free: 1.211 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.05542/1.289, allocations: 51.34 MB / 1.556 GB, free: 13.73 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/1.289, allocations: 0 / 1.556 GB, free: 13.73 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.473e-06/1.289, allocations: 0 / 1.556 GB, free: 13.73 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.001136/1.29, allocations: 0 / 1.556 GB, free: 13.73 MB / 1.295 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 1.012/2.303, allocations: 34.54 MB / 1.59 GB, free: 398.3 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/2.303, allocations: 8.531 kB / 1.59 GB, free: 398.3 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03601/2.339, allocations: 7.245 MB / 1.597 GB, free: 396.8 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07348/2.412, allocations: 43.4 MB / 1.64 GB, free: 379.2 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00128/2.414, allocations: 1.372 MB / 1.641 GB, free: 378.1 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003908/2.418, allocations: 0.928 MB / 1.642 GB, free: 377.8 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02708/2.445, allocations: 13.3 MB / 1.655 GB, free: 372.9 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001189/2.445, allocations: 14.28 kB / 1.655 GB, free: 372.9 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008402/2.446, allocations: 272.2 kB / 1.655 GB, free: 372.7 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000198/2.446, allocations: 243 kB / 1.655 GB, free: 372.6 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02449/2.47, allocations: 13.29 MB / 1.668 GB, free: 366.1 MB / 1.311 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.1263/2.597, allocations: 83.2 MB / 1.75 GB, free: 285.5 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01774/2.614, allocations: 10.27 MB / 1.76 GB, free: 275.3 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01165/2.626, allocations: 7.246 MB / 1.767 GB, free: 268 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/2.627, allocations: 0.8399 MB / 1.768 GB, free: 267 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01131/2.639, allocations: 6.517 MB / 1.774 GB, free: 260.5 MB / 1.311 GB Notification: Performance of pre-optimization done (n=484): time 8.496e-06/2.639, allocations: 0 / 1.774 GB, free: 260.5 MB / 1.311 GB Notification: Performance of matching and sorting (n=484): time 0.05897/2.698, allocations: 27.02 MB / 1.8 GB, free: 233.1 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002179/2.698, allocations: 399.4 kB / 1.801 GB, free: 232.7 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09898/2.797, allocations: 63.29 MB / 1.862 GB, free: 169.6 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.002939/2.8, allocations: 237.7 kB / 1.863 GB, free: 169.3 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.01575/2.816, allocations: 11.58 MB / 1.874 GB, free: 157.7 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.002829/2.818, allocations: 1.695 MB / 1.876 GB, free: 156 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009432/2.828, allocations: 7.587 MB / 1.883 GB, free: 148.4 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 4.467e-05/2.828, allocations: 305.1 kB / 1.883 GB, free: 148.1 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04481/2.873, allocations: 52.42 MB / 1.935 GB, free: 95.65 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04868/2.922, allocations: 57.25 MB / 1.99 GB, free: 36.74 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07087/2.992, allocations: 69.89 MB / 2.059 GB, free: 12.99 MB / 1.358 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.907e-05/2.993, allocations: 32 kB / 2.059 GB, free: 12.96 MB / 1.358 GB Notification: Performance of matching and sorting (n=2910) (initialization): time 0.6962/3.689, allocations: 125.6 MB / 2.181 GB, free: 439.4 MB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003282/3.689, allocations: 294.9 kB / 2.182 GB, free: 439.3 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08948/3.779, allocations: 87.14 MB / 2.267 GB, free: 380.7 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1096/3.888, allocations: 37.06 MB / 2.303 GB, free: 349.4 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01572/3.904, allocations: 3.265 MB / 2.306 GB, free: 346.3 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02375/3.928, allocations: 31.99 MB / 2.337 GB, free: 312.3 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02341/3.951, allocations: 2.961 MB / 2.34 GB, free: 309.9 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00298/3.954, allocations: 0.5544 MB / 2.341 GB, free: 309.4 MB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.06124/4.016, allocations: 65.62 MB / 2.405 GB, free: 243.7 MB / 1.404 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.04754/4.063, allocations: 57.18 MB / 2.461 GB, free: 184.9 MB / 1.404 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06104/4.124, allocations: 69.77 MB / 2.529 GB, free: 113.3 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001031/4.124, allocations: 32 kB / 2.529 GB, free: 113.2 MB / 1.404 GB Notification: Performance of matching and sorting (n=2910) (initialization_lambda0): time 0.1259/4.25, allocations: 125 MB / 2.651 GB, free: 3.785 MB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003304/4.251, allocations: 299.3 kB / 2.651 GB, free: 3.48 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.666/4.917, allocations: 87.33 MB / 2.737 GB, free: 440.5 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009086/4.926, allocations: 3.099 MB / 2.74 GB, free: 439.9 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01622/4.942, allocations: 3.248 MB / 2.743 GB, free: 439.8 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02985/4.972, allocations: 34.33 MB / 2.776 GB, free: 416.4 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02417/4.996, allocations: 2.614 MB / 2.779 GB, free: 416.1 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003501/5, allocations: 0.553 MB / 2.779 GB, free: 416.1 MB / 1.42 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.005068/5.005, allocations: 1.106 MB / 2.78 GB, free: 415.3 MB / 1.42 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007328/5.012, allocations: 2.364 MB / 2.783 GB, free: 414.3 MB / 1.42 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03493/5.047, allocations: 18.23 MB / 2.801 GB, free: 399.6 MB / 1.42 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02438/5.071, allocations: 14.67 MB / 2.815 GB, free: 387.3 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.06593/5.137, allocations: 20.8 MB / 2.835 GB, free: 366.6 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01622/5.154, allocations: 6.273 MB / 2.841 GB, free: 360.3 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007672/5.161, allocations: 147.9 kB / 2.841 GB, free: 360.1 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01519/5.177, allocations: 1.326 MB / 2.843 GB, free: 358.8 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001041/5.178, allocations: 319.2 kB / 2.843 GB, free: 358.5 MB / 1.42 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0396/5.217, allocations: 19.22 MB / 2.862 GB, free: 339.3 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03587/5.253, allocations: 23.29 MB / 2.885 GB, free: 316 MB / 1.42 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009131/5.262, allocations: 7.415 MB / 2.892 GB, free: 308.5 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.05309/5.315, allocations: 43.03 MB / 2.934 GB, free: 265.7 MB / 1.42 GB Notification: Performance of Backend: time 7.51e-07/5.315, allocations: 0 / 2.934 GB, free: 265.7 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.1308/5.446, allocations: 136.1 MB / 3.067 GB, free: 129.8 MB / 1.42 GB Notification: Performance of SimCode: time 0.114/5.56, allocations: 78.01 MB / 3.143 GB, free: 51.96 MB / 1.42 GB Notification: Performance of Templates: time 1.755/7.315, allocations: 0.5437 GB / 3.687 GB, free: 42.06 MB / 1.42 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.pipe 2>&1)