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.001596/0.001596, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001704/0.001704, allocations: 194.7 kB / 16.14 MB, free: 6.688 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.343/1.343, allocations: 222.9 MB / 239.8 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.814/2.814, allocations: 472.6 MB / 0.7447 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 62.42 kB / 0.9113 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3517, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01038/0.3621, allocations: 8.466 MB / 1.076 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1996/0.5617, allocations: 157.4 MB / 1.23 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002418/0.5642, allocations: 31.81 kB / 1.23 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006591/0.5708, allocations: 1.822 MB / 1.231 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004594/0.5754, allocations: 1.139 MB / 1.232 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004457/0.5799, allocations: 1.257 MB / 1.234 GB, free: 80 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007109/0.587, allocations: 5.414 MB / 1.239 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002654/0.5897, allocations: 1.183 MB / 1.24 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003407/0.5931, allocations: 1.463 MB / 1.242 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003181/0.5963, allocations: 1.51 MB / 1.243 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001051/0.5974, allocations: 136 kB / 1.243 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005983/0.6034, allocations: 2.278 MB / 1.245 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.6869/1.29, allocations: 4.202 MB / 1.249 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003693/1.294, allocations: 1.538 MB / 1.251 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01168/1.306, allocations: 6.081 MB / 1.257 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.306, allocations: 0 / 1.257 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.094e-06/1.306, allocations: 0.8125 kB / 1.257 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001578/1.306, allocations: 1.375 kB / 1.257 GB, free: 13.99 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.01116/1.317, allocations: 4.176 MB / 1.261 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/1.317, allocations: 8.281 kB / 1.261 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/1.319, allocations: 428.3 kB / 1.261 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01494/1.334, allocations: 12.3 MB / 1.273 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/1.334, allocations: 178.6 kB / 1.274 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005569/1.334, allocations: 236.3 kB / 1.274 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004268/1.339, allocations: 2.378 MB / 1.276 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/1.339, allocations: 3.281 kB / 1.276 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001809/1.339, allocations: 68.25 kB / 1.276 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.409e-05/1.339, allocations: 38.97 kB / 1.276 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00405/1.343, allocations: 2.466 MB / 1.279 GB, free: 11.1 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.02053/1.364, allocations: 15.52 MB / 1.294 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003106/1.367, allocations: 1.978 MB / 1.296 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/1.368, allocations: 1.289 MB / 1.297 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.216e-05/1.368, allocations: 35.56 kB / 1.297 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001716/1.37, allocations: 1.356 MB / 1.298 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=138): time 2.735e-06/1.37, allocations: 0 / 1.298 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138): time 0.006515/1.376, allocations: 3.819 MB / 1.302 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/1.377, allocations: 369.5 kB / 1.302 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02666/1.403, allocations: 20.59 MB / 1.323 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009739/1.404, allocations: 87.64 kB / 1.323 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001345/1.406, allocations: 1.166 MB / 1.324 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004808/1.406, allocations: 466.1 kB / 1.324 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003286/1.409, allocations: 4.923 MB / 1.329 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.719e-05/1.409, allocations: 313 kB / 1.329 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05385/1.463, allocations: 40.86 MB / 1.369 GB, free: 4.867 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03931/1.503, allocations: 40.09 MB / 1.408 GB, free: 12.59 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04582/1.548, allocations: 47.74 MB / 1.455 GB, free: 12.5 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.886e-05/1.549, allocations: 4 kB / 1.455 GB, free: 12.49 MB / 1.123 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.0968/1.645, allocations: 90.96 MB / 1.544 GB, free: 1.242 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003308/1.646, allocations: 197.6 kB / 1.544 GB, free: 1.043 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-05/1.646, allocations: 23.98 kB / 1.544 GB, free: 1.02 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006799/1.646, allocations: 112.3 kB / 1.544 GB, free: 0.9102 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003626/1.65, allocations: 0.6168 MB / 1.545 GB, free: 340 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/1.652, allocations: 1.562 MB / 1.546 GB, free: 14.65 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004265/1.657, allocations: 391.6 kB / 1.547 GB, free: 14.27 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005659/1.657, allocations: 152.3 kB / 1.547 GB, free: 14.13 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.00375/1.661, allocations: 2.513 MB / 1.549 GB, free: 11.65 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007533/1.662, allocations: 256.5 kB / 1.549 GB, free: 11.4 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00593/1.668, allocations: 3.477 MB / 1.553 GB, free: 7.914 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/1.668, allocations: 12 kB / 1.553 GB, free: 7.902 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.668, allocations: 11.94 kB / 1.553 GB, free: 7.891 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/1.668, allocations: 7.734 kB / 1.553 GB, free: 7.887 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003621/1.672, allocations: 2.082 MB / 1.555 GB, free: 5.773 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/1.672, allocations: 3.938 kB / 1.555 GB, free: 5.773 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009975/1.673, allocations: 203.9 kB / 1.555 GB, free: 5.586 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005503/1.673, allocations: 88.77 kB / 1.555 GB, free: 5.496 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/1.673, allocations: 42.39 kB / 1.555 GB, free: 5.457 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002013/1.675, allocations: 1.547 MB / 1.557 GB, free: 3.785 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.675, allocations: 0 / 1.557 GB, free: 3.785 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005421/1.681, allocations: 3.338 MB / 1.56 GB, free: 432 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/1.682, allocations: 0.548 MB / 1.561 GB, free: 15.85 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003991/1.682, allocations: 35.91 kB / 1.561 GB, free: 15.82 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/1.684, allocations: 113.2 kB / 1.561 GB, free: 15.71 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002769/1.684, allocations: 99.66 kB / 1.561 GB, free: 15.61 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/1.684, allocations: 67.97 kB / 1.561 GB, free: 15.54 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.01341/1.697, allocations: 12.8 MB / 1.573 GB, free: 2.746 MB / 1.232 GB Notification: Performance of sort global known variables: time 9.12e-07/1.697, allocations: 0 / 1.573 GB, free: 2.746 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.007269/1.705, allocations: 1.785 MB / 1.575 GB, free: 0.9648 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.003181/1.708, allocations: 0.9981 MB / 1.576 GB, free: 248 kB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.04734/1.755, allocations: 50.92 MB / 1.626 GB, free: 13.39 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.755, allocations: 0 / 1.626 GB, free: 13.39 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.003862/1.759, allocations: 2.719 MB / 1.628 GB, free: 10.67 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002713/1.762, allocations: 465.6 kB / 1.629 GB, free: 10.22 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02628/1.788, allocations: 21.15 MB / 1.65 GB, free: 5.031 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005408/1.794, allocations: 4.641 MB / 1.654 GB, free: 372 kB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002666/1.796, allocations: 0.641 MB / 1.655 GB, free: 15.72 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006713/1.797, allocations: 218.5 kB / 1.655 GB, free: 15.51 MB / 1.326 GB Notification: Performance of SimCode: time 2.625e-06/1.797, allocations: 4 kB / 1.655 GB, free: 15.51 MB / 1.326 GB Notification: Performance of Templates: time 0.1796/1.977, allocations: 59.34 MB / 1.713 GB, free: 4.598 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)