Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008147/0.0008147, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008295/0.0008295, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8499/0.8499, allocations: 177.2 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.62/1.62, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.9518 GB, free: 1.824 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.412e-05, allocations: 2.281 kB / 0.9518 GB, free: 1.82 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.007323/0.007347, allocations: 7.534 MB / 0.9591 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.6451/0.6524, allocations: 140.7 MB / 1.097 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.654, allocations: 53.66 kB / 1.097 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.004881/0.6588, allocations: 2.104 MB / 1.099 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.002538/0.6614, allocations: 1.32 MB / 1.1 GB, free: 15.06 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002736/0.6641, allocations: 1.588 MB / 1.102 GB, free: 14.25 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.003718/0.6678, allocations: 4.54 MB / 1.106 GB, free: 12.07 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.6689, allocations: 0.7966 MB / 1.107 GB, free: 11.6 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002387/0.6713, allocations: 2.194 MB / 1.109 GB, free: 10.25 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/0.6728, allocations: 1.404 MB / 1.11 GB, free: 9.426 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004584/0.6733, allocations: 300.2 kB / 1.111 GB, free: 9.426 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00383/0.6771, allocations: 2.846 MB / 1.113 GB, free: 7.914 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0021/0.6792, allocations: 4.368 MB / 1.118 GB, free: 6.043 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.001082/0.6803, allocations: 1.157 MB / 1.119 GB, free: 5.371 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.006448/0.6867, allocations: 6.874 MB / 1.125 GB, free: 0.8398 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.6867, allocations: 0 / 1.125 GB, free: 0.8398 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6867, allocations: 0 / 1.125 GB, free: 0.8398 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001309/0.6869, allocations: 0 / 1.125 GB, free: 0.8398 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004775/0.6916, allocations: 4.244 MB / 1.13 GB, free: 13.83 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.6917, allocations: 7.969 kB / 1.13 GB, free: 13.83 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.6929, allocations: 0.5098 MB / 1.13 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008205/0.7012, allocations: 12.3 MB / 1.142 GB, free: 3.512 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-05/0.7013, allocations: 177.3 kB / 1.142 GB, free: 3.34 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.7015, allocations: 247.9 kB / 1.142 GB, free: 3.098 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002502/0.704, allocations: 2.799 MB / 1.145 GB, free: 120 kB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.704, allocations: 4 kB / 1.145 GB, free: 116 kB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.7041, allocations: 67.98 kB / 1.145 GB, free: 48 kB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.7041, allocations: 40 kB / 1.145 GB, free: 8 kB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002211/0.7063, allocations: 2.336 MB / 1.148 GB, free: 13.66 MB / 0.9792 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.01106/0.7174, allocations: 14.18 MB / 1.161 GB, free: 15.37 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.7192, allocations: 1.643 MB / 1.163 GB, free: 13.72 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/0.7204, allocations: 0.9375 MB / 1.164 GB, free: 12.78 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.406e-05/0.7204, allocations: 32.97 kB / 1.164 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001225/0.7217, allocations: 1.614 MB / 1.166 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=148): time 2.414e-06/0.7217, allocations: 0 / 1.166 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of matching and sorting (n=148): time 0.003656/0.7253, allocations: 3.393 MB / 1.169 GB, free: 7.617 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/0.7255, allocations: 346.5 kB / 1.169 GB, free: 7.227 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01967/0.7451, allocations: 20.56 MB / 1.189 GB, free: 2.641 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0003685/0.7455, allocations: 93.7 kB / 1.189 GB, free: 2.543 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007886/0.7463, allocations: 1.192 MB / 1.191 GB, free: 1.34 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/0.7466, allocations: 0.4998 MB / 1.191 GB, free: 0.8359 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002494/0.7491, allocations: 5.024 MB / 1.196 GB, free: 11.79 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 6.771e-05/0.7492, allocations: 305.1 kB / 1.196 GB, free: 11.49 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02059/0.7698, allocations: 38.63 MB / 1.234 GB, free: 4.84 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02243/0.7922, allocations: 40.16 MB / 1.273 GB, free: 12.38 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02736/0.8195, allocations: 47.51 MB / 1.32 GB, free: 12.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.892e-05/0.8196, allocations: 4 kB / 1.32 GB, free: 12.39 MB / 1.151 GB Notification: Performance of matching and sorting (n=1868) (initialization): time 0.05682/0.8764, allocations: 91.19 MB / 1.409 GB, free: 0.7852 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.8765, allocations: 177.6 kB / 1.409 GB, free: 0.6055 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.072e-05/0.8766, allocations: 20 kB / 1.409 GB, free: 0.5859 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003421/0.8769, allocations: 108.9 kB / 1.409 GB, free: 488 kB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.8783, allocations: 0.6279 MB / 1.41 GB, free: 15.85 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.8798, allocations: 1.538 MB / 1.411 GB, free: 14.21 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.8813, allocations: 377.3 kB / 1.411 GB, free: 13.84 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/0.8815, allocations: 155.9 kB / 1.412 GB, free: 13.68 MB / 1.245 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.k,$PRE.HDirTil.incAng.decAng.k,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 (412): * Single equations (assignments): 371 * 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.001983/0.8835, allocations: 2.498 MB / 1.414 GB, free: 11.17 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000277/0.8838, allocations: 274.1 kB / 1.414 GB, free: 10.9 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003168/0.8869, allocations: 3.035 MB / 1.417 GB, free: 7.832 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.8869, allocations: 12 kB / 1.417 GB, free: 7.82 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.8869, allocations: 0 / 1.417 GB, free: 7.82 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.887, allocations: 7.969 kB / 1.417 GB, free: 7.812 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004739/0.8917, allocations: 4.926 MB / 1.422 GB, free: 2.812 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.8917, allocations: 0 / 1.422 GB, free: 2.812 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004393/0.8921, allocations: 211.7 kB / 1.422 GB, free: 2.605 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002013/0.8923, allocations: 76.78 kB / 1.422 GB, free: 2.527 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.42e-05/0.8924, allocations: 47.91 kB / 1.422 GB, free: 2.48 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.8934, allocations: 1.516 MB / 1.424 GB, free: 0.8555 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8934, allocations: 0 / 1.424 GB, free: 0.8555 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002893/0.8963, allocations: 2.987 MB / 1.427 GB, free: 13.83 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005553/0.8969, allocations: 489.7 kB / 1.427 GB, free: 13.35 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.897, allocations: 43.88 kB / 1.427 GB, free: 13.31 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005088/0.8975, allocations: 95.89 kB / 1.427 GB, free: 13.21 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.8977, allocations: 109.1 kB / 1.427 GB, free: 13.11 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-05/0.8978, allocations: 71.91 kB / 1.428 GB, free: 13.04 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.006902/0.9047, allocations: 12.75 MB / 1.44 GB, free: 292 kB / 1.26 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9047, allocations: 0 / 1.44 GB, free: 292 kB / 1.26 GB Notification: Performance of remove unused functions: time 0.003039/0.9077, allocations: 1.821 MB / 1.442 GB, free: 14.46 MB / 1.276 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.k,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 12 (weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 12 * 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.001733/0.9095, allocations: 1.141 MB / 1.443 GB, free: 13.52 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.02386/0.9333, allocations: 40.99 MB / 1.483 GB, free: 4.48 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.9333, allocations: 4.062 kB / 1.483 GB, free: 4.477 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.001364/0.9347, allocations: 1.62 MB / 1.484 GB, free: 2.824 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.936, allocations: 477.8 kB / 1.485 GB, free: 2.375 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008013/0.944, allocations: 9.958 MB / 1.495 GB, free: 8.371 MB / 1.323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/0.9452, allocations: 1.49 MB / 1.496 GB, free: 6.852 MB / 1.323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004674/0.9457, allocations: 232.4 kB / 1.496 GB, free: 6.625 MB / 1.323 GB Notification: Performance of SimCode: time 1.062e-06/0.9457, allocations: 0 / 1.496 GB, free: 6.625 MB / 1.323 GB Notification: Performance of Templates: time 0.4679/1.414, allocations: 101.1 MB / 1.595 GB, free: 453.6 MB / 1.339 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile [Timeout 300] (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 13.593103416264057] Failed to read output from testmodel.py, exit status != 0: 1.4187661716714501 1.424244609 0.736130705 Calling exit ...