Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001567/0.001567, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.795/2.795, allocations: 472.6 MB / 0.7451 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 64.44 kB / 0.912 GB, free: 33.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3559, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.009613/0.3655, allocations: 8.522 MB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1836/0.5492, allocations: 159.4 MB / 1.232 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001982/0.5512, allocations: 43.81 kB / 1.232 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005029/0.5562, allocations: 1.98 MB / 1.234 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003538/0.5598, allocations: 1.252 MB / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003475/0.5633, allocations: 1.44 MB / 1.237 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00572/0.569, allocations: 5.43 MB / 1.242 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0018/0.5708, allocations: 1.231 MB / 1.243 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00334/0.5742, allocations: 1.711 MB / 1.245 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002269/0.5765, allocations: 1.561 MB / 1.247 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004517/0.5769, allocations: 295.9 kB / 1.247 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004352/0.5813, allocations: 2.536 MB / 1.249 GB, free: 292 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.6171/1.198, allocations: 4.357 MB / 1.254 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004124/1.203, allocations: 1.725 MB / 1.255 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01092/1.214, allocations: 6.22 MB / 1.261 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/1.214, allocations: 1.281 kB / 1.261 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.364e-06/1.214, allocations: 0 / 1.261 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001798/1.214, allocations: 0 / 1.261 GB, free: 13.1 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.01057/1.224, allocations: 4.174 MB / 1.265 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/1.224, allocations: 8.25 kB / 1.265 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/1.226, allocations: 429.8 kB / 1.266 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01542/1.241, allocations: 12.31 MB / 1.278 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/1.242, allocations: 177.4 kB / 1.278 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000528/1.242, allocations: 235.2 kB / 1.278 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004112/1.246, allocations: 2.375 MB / 1.28 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/1.246, allocations: 1.062 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/1.247, allocations: 68.28 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.776e-05/1.247, allocations: 38.12 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004059/1.251, allocations: 2.465 MB / 1.283 GB, free: 10.17 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.02004/1.271, allocations: 15.53 MB / 1.298 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003242/1.274, allocations: 1.98 MB / 1.3 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/1.276, allocations: 1.283 MB / 1.301 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.659e-05/1.276, allocations: 39.16 kB / 1.301 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001741/1.277, allocations: 1.361 MB / 1.303 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=138): time 3.025e-06/1.277, allocations: 0.9375 kB / 1.303 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138): time 0.007157/1.285, allocations: 3.816 MB / 1.306 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001769/1.285, allocations: 367.2 kB / 1.307 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0294/1.314, allocations: 20.59 MB / 1.327 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008261/1.315, allocations: 86.86 kB / 1.327 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00154/1.317, allocations: 1.174 MB / 1.328 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005721/1.317, allocations: 468.8 kB / 1.329 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003302/1.321, allocations: 4.926 MB / 1.333 GB, free: 496 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.444e-05/1.321, allocations: 302 kB / 1.334 GB, free: 192 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05656/1.377, allocations: 40.87 MB / 1.374 GB, free: 15.17 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03648/1.414, allocations: 40.08 MB / 1.413 GB, free: 6.871 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04344/1.457, allocations: 47.73 MB / 1.459 GB, free: 6.781 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.602e-05/1.457, allocations: 4 kB / 1.459 GB, free: 6.777 MB / 1.123 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.09366/1.551, allocations: 90.97 MB / 1.548 GB, free: 11.54 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.00032/1.551, allocations: 202.1 kB / 1.548 GB, free: 11.34 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.529e-05/1.551, allocations: 20.97 kB / 1.548 GB, free: 11.32 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000701/1.552, allocations: 108.7 kB / 1.549 GB, free: 11.21 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003069/1.555, allocations: 0.6157 MB / 1.549 GB, free: 10.64 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/1.558, allocations: 1.667 MB / 1.551 GB, free: 8.855 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003653/1.561, allocations: 372 kB / 1.551 GB, free: 8.496 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007884/1.562, allocations: 155.9 kB / 1.551 GB, free: 8.348 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.004251/1.566, allocations: 2.507 MB / 1.554 GB, free: 5.879 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001031/1.567, allocations: 260.5 kB / 1.554 GB, free: 5.621 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006576/1.574, allocations: 3.485 MB / 1.557 GB, free: 2.145 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/1.574, allocations: 12.91 kB / 1.557 GB, free: 2.133 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.574, allocations: 3.75 kB / 1.557 GB, free: 2.133 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.7e-05/1.574, allocations: 7.969 kB / 1.557 GB, free: 2.125 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0038/1.578, allocations: 2.083 MB / 1.559 GB, free: 12 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.578, allocations: 4 kB / 1.559 GB, free: 8 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009875/1.579, allocations: 206.8 kB / 1.56 GB, free: 15.82 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005427/1.579, allocations: 75.48 kB / 1.56 GB, free: 15.75 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001514/1.58, allocations: 43.97 kB / 1.56 GB, free: 15.7 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/1.582, allocations: 1.659 MB / 1.561 GB, free: 13.92 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.582, allocations: 0 / 1.561 GB, free: 13.92 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00573/1.588, allocations: 3.338 MB / 1.565 GB, free: 10.56 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/1.589, allocations: 0.5489 MB / 1.565 GB, free: 9.988 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004404/1.589, allocations: 39.94 kB / 1.565 GB, free: 9.949 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/1.59, allocations: 88.77 kB / 1.565 GB, free: 9.867 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002677/1.591, allocations: 105.2 kB / 1.565 GB, free: 9.766 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/1.591, allocations: 68.62 kB / 1.565 GB, free: 9.699 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0119/1.603, allocations: 12.8 MB / 1.578 GB, free: 12.9 MB / 1.248 GB Notification: Performance of sort global known variables: time 4.8e-07/1.603, allocations: 0.9062 kB / 1.578 GB, free: 12.9 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00616/1.609, allocations: 1.782 MB / 1.58 GB, free: 11.12 MB / 1.248 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.002994/1.612, allocations: 1.008 MB / 1.581 GB, free: 10.4 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.04647/1.658, allocations: 51.76 MB / 1.631 GB, free: 6.719 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/1.659, allocations: 0.8438 kB / 1.631 GB, free: 6.719 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.003431/1.662, allocations: 2.72 MB / 1.634 GB, free: 3.996 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002597/1.665, allocations: 0.4899 MB / 1.634 GB, free: 3.531 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02645/1.691, allocations: 19.26 MB / 1.653 GB, free: 340 kB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005722/1.697, allocations: 4.641 MB / 1.658 GB, free: 11.66 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.002321/1.699, allocations: 0.648 MB / 1.658 GB, free: 11.02 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006693/1.7, allocations: 215.4 kB / 1.659 GB, free: 10.8 MB / 1.326 GB Notification: Performance of SimCode: time 7.91e-07/1.7, allocations: 0 / 1.659 GB, free: 10.8 MB / 1.326 GB Notification: Performance of Templates: time 0.1787/1.879, allocations: 60.79 MB / 1.718 GB, free: 14.41 MB / 1.389 GB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)