Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001729/0.001728, allocations: 107.5 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 193.2 kB / 20.03 MB, free: 3.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.675/2.675, allocations: 437.1 MB / 0.7177 GB, free: 4.578 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 68.12 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3354, allocations: 151.6 MB / 1.176 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01177/0.3472, allocations: 8.548 MB / 1.184 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.9588/1.306, allocations: 159.4 MB / 1.34 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002729/1.309, allocations: 38 kB / 1.34 GB, free: 2.801 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.008938/1.318, allocations: 1.996 MB / 1.342 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004859/1.323, allocations: 1.25 MB / 1.343 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004543/1.327, allocations: 1.449 MB / 1.345 GB, free: 444 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007865/1.335, allocations: 5.447 MB / 1.35 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002271/1.337, allocations: 1.223 MB / 1.351 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003668/1.341, allocations: 1.721 MB / 1.353 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003265/1.344, allocations: 1.566 MB / 1.354 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0007693/1.345, allocations: 293.8 kB / 1.355 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007223/1.352, allocations: 2.574 MB / 1.357 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.005365/1.358, allocations: 4.361 MB / 1.361 GB, free: 9.887 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00361/1.362, allocations: 1.724 MB / 1.363 GB, free: 8.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01293/1.374, allocations: 6.337 MB / 1.369 GB, free: 4.891 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/1.375, allocations: 0 / 1.369 GB, free: 4.891 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.635e-06/1.375, allocations: 3.938 kB / 1.369 GB, free: 4.887 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.000153/1.375, allocations: 0 / 1.369 GB, free: 4.887 MB / 1.029 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.009965/1.385, allocations: 4.306 MB / 1.373 GB, free: 1.816 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.385, allocations: 14.33 kB / 1.373 GB, free: 1.812 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/1.386, allocations: 440.3 kB / 1.374 GB, free: 1.586 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01297/1.399, allocations: 12.36 MB / 1.386 GB, free: 12.61 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000164/1.399, allocations: 171.9 kB / 1.386 GB, free: 12.53 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004386/1.4, allocations: 234 kB / 1.386 GB, free: 12.46 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004272/1.404, allocations: 2.371 MB / 1.389 GB, free: 10.09 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/1.404, allocations: 7.75 kB / 1.389 GB, free: 10.09 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/1.404, allocations: 71.98 kB / 1.389 GB, free: 10.02 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.894e-05/1.404, allocations: 43.98 kB / 1.389 GB, free: 9.973 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004099/1.409, allocations: 2.459 MB / 1.391 GB, free: 7.508 MB / 1.045 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.02338/1.432, allocations: 15.49 MB / 1.406 GB, free: 7.781 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004022/1.436, allocations: 1.978 MB / 1.408 GB, free: 5.801 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001947/1.438, allocations: 1.285 MB / 1.409 GB, free: 4.516 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/1.438, allocations: 33.09 kB / 1.409 GB, free: 4.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002372/1.441, allocations: 1.358 MB / 1.411 GB, free: 3.102 MB / 1.061 GB Notification: Performance of pre-optimization done (n=138): time 3.276e-06/1.441, allocations: 3.938 kB / 1.411 GB, free: 3.098 MB / 1.061 GB Notification: Performance of matching and sorting (n=138): time 0.008085/1.449, allocations: 3.836 MB / 1.415 GB, free: 15.22 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002861/1.449, allocations: 362.5 kB / 1.415 GB, free: 14.82 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0336/1.483, allocations: 20.6 MB / 1.435 GB, free: 10.2 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0007525/1.483, allocations: 81.7 kB / 1.435 GB, free: 10.11 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001976/1.485, allocations: 1.188 MB / 1.436 GB, free: 8.914 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007862/1.486, allocations: 487.9 kB / 1.437 GB, free: 8.434 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005309/1.492, allocations: 5.019 MB / 1.442 GB, free: 3.391 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001547/1.492, allocations: 301.1 kB / 1.442 GB, free: 3.094 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03986/1.532, allocations: 38.68 MB / 1.48 GB, free: 12.4 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04271/1.574, allocations: 40.09 MB / 1.519 GB, free: 4.059 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04943/1.624, allocations: 47.72 MB / 1.565 GB, free: 3.855 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-05/1.624, allocations: 8 kB / 1.565 GB, free: 3.848 MB / 1.217 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.1023/1.726, allocations: 90.99 MB / 1.654 GB, free: 8.445 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003287/1.727, allocations: 205.6 kB / 1.654 GB, free: 8.238 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.345e-05/1.727, allocations: 16 kB / 1.655 GB, free: 8.223 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006647/1.727, allocations: 120.9 kB / 1.655 GB, free: 8.102 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00275/1.73, allocations: 0.6083 MB / 1.655 GB, free: 7.492 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002454/1.733, allocations: 1.676 MB / 1.657 GB, free: 5.672 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003384/1.736, allocations: 377.1 kB / 1.657 GB, free: 5.305 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006516/1.737, allocations: 155.9 kB / 1.657 GB, free: 5.152 MB / 1.311 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.003686/1.74, allocations: 2.516 MB / 1.66 GB, free: 2.621 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007424/1.741, allocations: 274.1 kB / 1.66 GB, free: 2.352 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006172/1.747, allocations: 3.478 MB / 1.663 GB, free: 14.85 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/1.747, allocations: 19.94 kB / 1.663 GB, free: 14.83 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/1.747, allocations: 0 / 1.663 GB, free: 14.83 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/1.747, allocations: 7.969 kB / 1.664 GB, free: 14.82 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003883/1.751, allocations: 2.085 MB / 1.666 GB, free: 12.68 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/1.751, allocations: 0 / 1.666 GB, free: 12.68 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009483/1.752, allocations: 207.7 kB / 1.666 GB, free: 12.48 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005608/1.753, allocations: 76.73 kB / 1.666 GB, free: 12.4 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/1.753, allocations: 39.97 kB / 1.666 GB, free: 12.36 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002135/1.755, allocations: 1.662 MB / 1.667 GB, free: 10.55 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/1.755, allocations: 0 / 1.667 GB, free: 10.55 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006107/1.761, allocations: 3.351 MB / 1.671 GB, free: 7.172 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/1.763, allocations: 0.569 MB / 1.671 GB, free: 6.582 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003848/1.763, allocations: 31.94 kB / 1.671 GB, free: 6.551 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/1.764, allocations: 89.94 kB / 1.671 GB, free: 6.465 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002732/1.764, allocations: 101.2 kB / 1.672 GB, free: 6.363 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/1.764, allocations: 67.97 kB / 1.672 GB, free: 6.297 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.01416/1.779, allocations: 12.8 MB / 1.684 GB, free: 9.5 MB / 1.342 GB Notification: Performance of sort global known variables: time 3.01e-07/1.779, allocations: 0 / 1.684 GB, free: 9.5 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.005919/1.785, allocations: 1.794 MB / 1.686 GB, free: 7.703 MB / 1.342 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.003558/1.788, allocations: 1.02 MB / 1.687 GB, free: 6.867 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.05294/1.841, allocations: 50.92 MB / 1.737 GB, free: 3.918 MB / 1.389 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/1.841, allocations: 5 kB / 1.737 GB, free: 3.914 MB / 1.389 GB Notification: Performance of simCode: created simulation system equations: time 0.003844/1.845, allocations: 2.716 MB / 1.739 GB, free: 1.172 MB / 1.389 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/1.848, allocations: 494.8 kB / 1.74 GB, free: 0.7109 MB / 1.389 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01475/1.862, allocations: 9.887 MB / 1.749 GB, free: 6.777 MB / 1.404 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002008/1.864, allocations: 2.039 MB / 1.751 GB, free: 4.715 MB / 1.404 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/1.865, allocations: 231.4 kB / 1.752 GB, free: 4.488 MB / 1.404 GB Notification: Performance of SimCode: time 6.01e-07/1.865, allocations: 0 / 1.752 GB, free: 4.488 MB / 1.404 GB Notification: Performance of Templates: time 0.7134/2.579, allocations: 98.4 MB / 1.848 GB, free: 0.5209 GB / 1.467 GB " [Timeout remaining time 297] make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile [Timeout 300] (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 20.86262411705684] Failed to read output from testmodel.py, exit status != 0: 2.586110742064193 2.595324771 1.2187961779999998 Calling exit ...