Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001327/0.001328, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.368/1.368, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.823/2.823, allocations: 472.6 MB / 0.7448 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 67.55 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3604, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01211/0.3725, allocations: 8.47 MB / 1.076 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1721/0.5446, allocations: 157.2 MB / 1.229 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001637/0.5463, allocations: 31.81 kB / 1.229 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005295/0.5516, allocations: 1.81 MB / 1.231 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003647/0.5553, allocations: 1.151 MB / 1.232 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003523/0.5588, allocations: 1.312 MB / 1.234 GB, free: 196 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006002/0.5648, allocations: 5.442 MB / 1.239 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002521/0.5674, allocations: 1.231 MB / 1.24 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002944/0.5703, allocations: 1.776 MB / 1.242 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002856/0.5732, allocations: 1.612 MB / 1.243 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001284/0.5745, allocations: 291.9 kB / 1.244 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005094/0.5796, allocations: 2.551 MB / 1.246 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.6378/1.217, allocations: 4.357 MB / 1.251 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005044/1.223, allocations: 1.727 MB / 1.252 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01404/1.237, allocations: 6.224 MB / 1.258 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/1.237, allocations: 2.906 kB / 1.258 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.813e-06/1.237, allocations: 1.281 kB / 1.258 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000264/1.237, allocations: 0 / 1.258 GB, free: 15.23 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.01601/1.253, allocations: 4.184 MB / 1.262 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/1.253, allocations: 9.25 kB / 1.262 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001983/1.255, allocations: 425.1 kB / 1.263 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01454/1.27, allocations: 12.3 MB / 1.275 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001835/1.27, allocations: 177.6 kB / 1.275 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005856/1.27, allocations: 236.4 kB / 1.275 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004732/1.275, allocations: 2.376 MB / 1.277 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.832e-05/1.275, allocations: 1 kB / 1.277 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/1.275, allocations: 67.7 kB / 1.278 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.201e-05/1.275, allocations: 39.69 kB / 1.278 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004564/1.28, allocations: 2.464 MB / 1.28 GB, free: 12.34 MB / 0.9981 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.02084/1.301, allocations: 15.52 MB / 1.295 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003289/1.304, allocations: 1.981 MB / 1.297 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/1.306, allocations: 1.275 MB / 1.298 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/1.306, allocations: 40.19 kB / 1.298 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001786/1.307, allocations: 1.358 MB / 1.3 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=138): time 2.695e-06/1.308, allocations: 0 / 1.3 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138): time 0.007249/1.315, allocations: 3.818 MB / 1.303 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001701/1.315, allocations: 362.4 kB / 1.304 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02982/1.345, allocations: 20.6 MB / 1.324 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008543/1.346, allocations: 85.52 kB / 1.324 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001689/1.347, allocations: 1.169 MB / 1.325 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006649/1.348, allocations: 471.8 kB / 1.326 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003462/1.352, allocations: 4.926 MB / 1.33 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.241e-05/1.352, allocations: 305.9 kB / 1.331 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05734/1.409, allocations: 40.94 MB / 1.371 GB, free: 4.809 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03915/1.448, allocations: 40.09 MB / 1.41 GB, free: 12.55 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04576/1.494, allocations: 47.73 MB / 1.456 GB, free: 12.47 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.44e-05/1.494, allocations: 4 kB / 1.456 GB, free: 12.46 MB / 1.123 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.0989/1.593, allocations: 90.96 MB / 1.545 GB, free: 1.227 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003372/1.593, allocations: 202.3 kB / 1.545 GB, free: 1.023 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.932e-05/1.593, allocations: 20 kB / 1.545 GB, free: 1.004 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006868/1.594, allocations: 114.6 kB / 1.546 GB, free: 0.8945 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003089/1.597, allocations: 0.6118 MB / 1.546 GB, free: 332 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002596/1.6, allocations: 1.683 MB / 1.548 GB, free: 14.54 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003786/1.604, allocations: 393.1 kB / 1.548 GB, free: 14.16 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009535/1.605, allocations: 154.9 kB / 1.548 GB, free: 14.01 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * 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 (396): * Single equations (assignments): 355 * Array equations: 39 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.004568/1.609, allocations: 2.504 MB / 1.551 GB, free: 11.54 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008979/1.61, allocations: 256.5 kB / 1.551 GB, free: 11.29 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006061/1.616, allocations: 3.49 MB / 1.554 GB, free: 7.812 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/1.616, allocations: 16.09 kB / 1.554 GB, free: 7.801 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/1.616, allocations: 0 / 1.554 GB, free: 7.801 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/1.616, allocations: 7.969 kB / 1.554 GB, free: 7.793 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003981/1.62, allocations: 2.084 MB / 1.556 GB, free: 5.68 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.62, allocations: 0 / 1.556 GB, free: 5.68 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009765/1.621, allocations: 205.8 kB / 1.557 GB, free: 5.488 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005122/1.622, allocations: 78.3 kB / 1.557 GB, free: 5.414 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001728/1.622, allocations: 45 kB / 1.557 GB, free: 5.371 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/1.624, allocations: 1.664 MB / 1.558 GB, free: 3.586 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.624, allocations: 0 / 1.558 GB, free: 3.586 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00571/1.63, allocations: 3.334 MB / 1.562 GB, free: 232 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/1.631, allocations: 0.5482 MB / 1.562 GB, free: 15.65 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007421/1.632, allocations: 35.94 kB / 1.562 GB, free: 15.62 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/1.634, allocations: 104.2 kB / 1.562 GB, free: 15.52 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002958/1.634, allocations: 106 kB / 1.562 GB, free: 15.42 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001889/1.634, allocations: 63.97 kB / 1.563 GB, free: 15.36 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.01238/1.646, allocations: 12.8 MB / 1.575 GB, free: 2.559 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.142e-06/1.647, allocations: 0 / 1.575 GB, free: 2.559 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.007171/1.654, allocations: 1.783 MB / 1.577 GB, free: 0.7773 MB / 1.232 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 (weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004442/1.658, allocations: 1.005 MB / 1.578 GB, free: 52 kB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.05095/1.709, allocations: 51.76 MB / 1.628 GB, free: 12.38 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/1.709, allocations: 4 kB / 1.628 GB, free: 12.38 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.003623/1.713, allocations: 2.719 MB / 1.631 GB, free: 9.656 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003201/1.716, allocations: 0.4887 MB / 1.631 GB, free: 9.195 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02962/1.746, allocations: 21.15 MB / 1.652 GB, free: 4.113 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006881/1.753, allocations: 4.638 MB / 1.657 GB, free: 15.45 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.002675/1.755, allocations: 0.6525 MB / 1.657 GB, free: 14.79 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007098/1.756, allocations: 215.4 kB / 1.657 GB, free: 14.58 MB / 1.326 GB Notification: Performance of SimCode: time 9.72e-07/1.756, allocations: 0 / 1.657 GB, free: 14.58 MB / 1.326 GB Notification: Performance of Templates: time 0.184/1.94, allocations: 60.62 MB / 1.717 GB, free: 2.434 MB / 1.373 GB make -j1 -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)