Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.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.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.1|2.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaUns_flow.2|2.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.1|2.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaUns_flow.2|2.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001221/0.001221, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.401/1.401, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.7/2.7, allocations: 482.4 MB / 0.7553 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 64.31 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7838/0.7857, allocations: 162.2 MB / 1.083 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.009359/0.7951, allocations: 7.264 MB / 1.09 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1969/0.992, allocations: 155.5 MB / 1.242 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001738/0.9938, allocations: 27.88 kB / 1.242 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005246/0.9991, allocations: 1.813 MB / 1.244 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00336/1.002, allocations: 0.8567 MB / 1.244 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003142/1.006, allocations: 1.024 MB / 1.245 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004794/1.01, allocations: 3.567 MB / 1.249 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/1.012, allocations: 0.9094 MB / 1.25 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001937/1.014, allocations: 1.157 MB / 1.251 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00164/1.016, allocations: 1.055 MB / 1.252 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003498/1.016, allocations: 196 kB / 1.252 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003948/1.02, allocations: 2.204 MB / 1.254 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001909/1.022, allocations: 1.915 MB / 1.256 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001538/1.023, allocations: 1.174 MB / 1.257 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006685/1.03, allocations: 4.363 MB / 1.262 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/1.03, allocations: 4 kB / 1.262 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/1.03, allocations: 0 / 1.262 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.212e-05/1.03, allocations: 0 / 1.262 GB, free: 7.305 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.005826/1.036, allocations: 2.993 MB / 1.265 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/1.036, allocations: 8.031 kB / 1.265 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009572/1.037, allocations: 297.8 kB / 1.265 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00552/1.043, allocations: 4.556 MB / 1.269 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/1.043, allocations: 134.4 kB / 1.269 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002789/1.043, allocations: 183.9 kB / 1.27 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002734/1.046, allocations: 1.656 MB / 1.271 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/1.046, allocations: 0 / 1.271 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/1.046, allocations: 63.98 kB / 1.271 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.803e-05/1.046, allocations: 32 kB / 1.271 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00274/1.049, allocations: 1.719 MB / 1.273 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01122/1.06, allocations: 7.424 MB / 1.28 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002492/1.063, allocations: 1.583 MB / 1.282 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/1.064, allocations: 1.035 MB / 1.283 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.957e-05/1.064, allocations: 33.19 kB / 1.283 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001471/1.065, allocations: 0.9812 MB / 1.284 GB, free: 248 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=118): time 2.615e-06/1.065, allocations: 0 / 1.284 GB, free: 248 kB / 0.9981 GB Notification: Performance of matching and sorting (n=118): time 0.004568/1.07, allocations: 2.844 MB / 1.287 GB, free: 13.38 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000262/1.07, allocations: 348.2 kB / 1.287 GB, free: 12.99 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01041/1.081, allocations: 7.384 MB / 1.294 GB, free: 5.559 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003754/1.081, allocations: 73.7 kB / 1.294 GB, free: 5.48 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009384/1.082, allocations: 0.7958 MB / 1.295 GB, free: 4.68 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000494/1.083, allocations: 390.5 kB / 1.295 GB, free: 4.293 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001896/1.085, allocations: 1.884 MB / 1.297 GB, free: 2.391 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.085, allocations: 301.1 kB / 1.297 GB, free: 2.094 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01334/1.098, allocations: 12.99 MB / 1.31 GB, free: 5.094 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01458/1.113, allocations: 13.69 MB / 1.324 GB, free: 7.227 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01878/1.131, allocations: 17.11 MB / 1.34 GB, free: 5.836 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.575e-05/1.132, allocations: 4 kB / 1.34 GB, free: 5.832 MB / 1.061 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03472/1.166, allocations: 31.25 MB / 1.371 GB, free: 6.387 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 0.000252/1.167, allocations: 181.6 kB / 1.371 GB, free: 6.203 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.261e-05/1.167, allocations: 16.03 kB / 1.371 GB, free: 6.188 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.82e-05/1.167, allocations: 24 kB / 1.371 GB, free: 6.164 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/1.169, allocations: 475.2 kB / 1.371 GB, free: 5.699 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.699e-05/1.169, allocations: 27.94 kB / 1.371 GB, free: 5.672 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/1.17, allocations: 285 kB / 1.372 GB, free: 5.391 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002101/1.171, allocations: 108 kB / 1.372 GB, free: 5.285 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (290): * Single equations (assignments): 276 * Array equations: 13 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001678/1.172, allocations: 1.247 MB / 1.373 GB, free: 4.023 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003775/1.173, allocations: 177.6 kB / 1.373 GB, free: 3.848 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004429/1.177, allocations: 2.741 MB / 1.376 GB, free: 1.082 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/1.177, allocations: 8 kB / 1.376 GB, free: 1.074 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/1.177, allocations: 8 kB / 1.376 GB, free: 1.066 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/1.177, allocations: 7.969 kB / 1.376 GB, free: 1.059 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/1.18, allocations: 1.477 MB / 1.377 GB, free: 15.52 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.18, allocations: 0 / 1.377 GB, free: 15.52 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006869/1.18, allocations: 159.8 kB / 1.378 GB, free: 15.36 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/1.18, allocations: 4 kB / 1.378 GB, free: 15.36 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/1.18, allocations: 35.97 kB / 1.378 GB, free: 15.32 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/1.18, allocations: 0 / 1.378 GB, free: 15.32 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.18, allocations: 4 kB / 1.378 GB, free: 15.32 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004064/1.185, allocations: 2.644 MB / 1.38 GB, free: 12.65 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007848/1.185, allocations: 430.2 kB / 1.381 GB, free: 12.21 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002633/1.186, allocations: 28 kB / 1.381 GB, free: 12.18 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000836/1.186, allocations: 73.81 kB / 1.381 GB, free: 12.11 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/1.187, allocations: 88.86 kB / 1.381 GB, free: 12.02 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.574e-05/1.187, allocations: 47.98 kB / 1.381 GB, free: 11.98 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.005102/1.192, allocations: 4.648 MB / 1.385 GB, free: 7.305 MB / 1.107 GB Notification: Performance of sort global known variables: time 4.51e-07/1.192, allocations: 0 / 1.385 GB, free: 7.305 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003264/1.195, allocations: 1.217 MB / 1.386 GB, free: 6.09 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002995/1.198, allocations: 0.9604 MB / 1.387 GB, free: 5.301 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.02181/1.22, allocations: 19.62 MB / 1.407 GB, free: 1.668 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/1.22, allocations: 0 / 1.407 GB, free: 1.668 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002685/1.223, allocations: 2.239 MB / 1.409 GB, free: 15.41 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/1.225, allocations: 379.4 kB / 1.409 GB, free: 15.06 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008544/1.233, allocations: 5.572 MB / 1.415 GB, free: 9.465 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/1.235, allocations: 1.537 MB / 1.416 GB, free: 7.906 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006501/1.235, allocations: 167.4 kB / 1.416 GB, free: 7.742 MB / 1.139 GB Notification: Performance of SimCode: time 6.61e-07/1.235, allocations: 0 / 1.416 GB, free: 7.742 MB / 1.139 GB Notification: Performance of Templates: time 0.0761/1.311, allocations: 46.37 MB / 1.462 GB, free: 10.27 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)