Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_9_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.001503/0.001503, allocations: 106.7 kB / 16.41 MB, free: 6.508 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.001718/0.001718, allocations: 187 kB / 17.34 MB, free: 5.742 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.259/2.259, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 63.91 kB / 0.9516 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8781/0.8796, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.009199/0.8889, allocations: 7.303 MB / 1.096 GB, free: 332 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2037/1.093, allocations: 159.3 MB / 1.251 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/1.094, allocations: 39.81 kB / 1.251 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005074/1.1, allocations: 1.963 MB / 1.253 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003594/1.103, allocations: 1.174 MB / 1.254 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003745/1.107, allocations: 1.438 MB / 1.256 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006102/1.113, allocations: 5.237 MB / 1.261 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001865/1.115, allocations: 1.277 MB / 1.262 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002895/1.118, allocations: 1.706 MB / 1.264 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002324/1.12, allocations: 1.528 MB / 1.265 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005755/1.121, allocations: 288 kB / 1.266 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004838/1.126, allocations: 2.579 MB / 1.268 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003802/1.129, allocations: 4.354 MB / 1.272 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002126/1.132, allocations: 1.687 MB / 1.274 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009048/1.141, allocations: 6.244 MB / 1.28 GB, free: 9.543 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.141, allocations: 0 / 1.28 GB, free: 9.543 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.533e-06/1.141, allocations: 0 / 1.28 GB, free: 9.543 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.736e-05/1.141, allocations: 0 / 1.28 GB, free: 9.543 MB / 1.014 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.007662/1.148, allocations: 4.153 MB / 1.284 GB, free: 5.312 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/1.149, allocations: 12.03 kB / 1.284 GB, free: 5.301 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/1.15, allocations: 432.4 kB / 1.285 GB, free: 4.875 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01247/1.162, allocations: 12.34 MB / 1.297 GB, free: 8.469 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/1.163, allocations: 175.1 kB / 1.297 GB, free: 8.297 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004378/1.163, allocations: 232 kB / 1.297 GB, free: 8.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003808/1.167, allocations: 2.385 MB / 1.299 GB, free: 5.625 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/1.167, allocations: 0 / 1.299 GB, free: 5.625 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/1.167, allocations: 68 kB / 1.299 GB, free: 5.559 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/1.167, allocations: 36 kB / 1.3 GB, free: 5.523 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003644/1.171, allocations: 2.463 MB / 1.302 GB, free: 3.055 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01912/1.19, allocations: 14.99 MB / 1.317 GB, free: 3.934 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00319/1.193, allocations: 1.983 MB / 1.318 GB, free: 1.941 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/1.195, allocations: 1.277 MB / 1.32 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.616e-05/1.195, allocations: 37.09 kB / 1.32 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00196/1.197, allocations: 1.365 MB / 1.321 GB, free: 15.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=138): time 2.675e-06/1.197, allocations: 0 / 1.321 GB, free: 15.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=138): time 0.006709/1.203, allocations: 3.815 MB / 1.325 GB, free: 11.39 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002712/1.204, allocations: 366.5 kB / 1.325 GB, free: 10.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03289/1.237, allocations: 20.6 MB / 1.345 GB, free: 6.359 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0006944/1.237, allocations: 85.7 kB / 1.345 GB, free: 6.27 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001673/1.239, allocations: 1.17 MB / 1.347 GB, free: 5.086 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006771/1.24, allocations: 465.5 kB / 1.347 GB, free: 4.625 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004317/1.244, allocations: 4.919 MB / 1.352 GB, free: 15.67 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.244, allocations: 313.1 kB / 1.352 GB, free: 15.36 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03588/1.28, allocations: 38.67 MB / 1.39 GB, free: 8.68 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0392/1.319, allocations: 40.08 MB / 1.429 GB, free: 348 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04673/1.366, allocations: 47.73 MB / 1.476 GB, free: 132 kB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-05/1.366, allocations: 8 kB / 1.476 GB, free: 124 kB / 1.201 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.09242/1.459, allocations: 90.97 MB / 1.564 GB, free: 4.742 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003048/1.459, allocations: 197.6 kB / 1.565 GB, free: 4.543 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.236e-05/1.459, allocations: 20 kB / 1.565 GB, free: 4.523 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006177/1.46, allocations: 108.9 kB / 1.565 GB, free: 4.414 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002793/1.463, allocations: 0.6123 MB / 1.565 GB, free: 3.801 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/1.465, allocations: 1.671 MB / 1.567 GB, free: 1.988 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003055/1.468, allocations: 372 kB / 1.567 GB, free: 1.621 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000403/1.468, allocations: 160 kB / 1.567 GB, free: 1.465 MB / 1.295 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.003063/1.471, allocations: 2.504 MB / 1.57 GB, free: 14.94 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000604/1.472, allocations: 256.5 kB / 1.57 GB, free: 14.69 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005476/1.477, allocations: 3.489 MB / 1.574 GB, free: 11.18 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/1.477, allocations: 12 kB / 1.574 GB, free: 11.16 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/1.477, allocations: 0 / 1.574 GB, free: 11.16 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/1.477, allocations: 3.984 kB / 1.574 GB, free: 11.16 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002838/1.48, allocations: 2.08 MB / 1.576 GB, free: 9.02 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.48, allocations: 0 / 1.576 GB, free: 9.02 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009008/1.481, allocations: 211.7 kB / 1.576 GB, free: 8.812 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004314/1.482, allocations: 72.78 kB / 1.576 GB, free: 8.738 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/1.482, allocations: 43.97 kB / 1.576 GB, free: 8.695 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/1.484, allocations: 1.654 MB / 1.578 GB, free: 6.895 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/1.484, allocations: 15.8 kB / 1.578 GB, free: 6.879 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004971/1.489, allocations: 3.326 MB / 1.581 GB, free: 3.523 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009327/1.49, allocations: 0.5518 MB / 1.581 GB, free: 2.949 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003214/1.49, allocations: 31.98 kB / 1.581 GB, free: 2.918 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000985/1.491, allocations: 94.25 kB / 1.581 GB, free: 2.828 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/1.491, allocations: 101.1 kB / 1.582 GB, free: 2.727 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/1.491, allocations: 71.95 kB / 1.582 GB, free: 2.656 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.6088/2.1, allocations: 12.79 MB / 1.594 GB, free: 451 MB / 1.311 GB Notification: Performance of sort global known variables: time 5.41e-07/2.1, allocations: 0 / 1.594 GB, free: 451 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.005123/2.105, allocations: 1.758 MB / 1.596 GB, free: 450.9 MB / 1.311 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.002601/2.108, allocations: 1.001 MB / 1.597 GB, free: 450.7 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.04226/2.15, allocations: 50.92 MB / 1.647 GB, free: 428 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/2.15, allocations: 6.141 kB / 1.647 GB, free: 428 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.002689/2.153, allocations: 2.724 MB / 1.649 GB, free: 426.7 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/2.155, allocations: 480.7 kB / 1.65 GB, free: 426.5 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/2.167, allocations: 9.904 MB / 1.659 GB, free: 417.4 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00141/2.169, allocations: 2.033 MB / 1.661 GB, free: 415.8 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000885/2.169, allocations: 232.1 kB / 1.662 GB, free: 415.6 MB / 1.311 GB Notification: Performance of SimCode: time 8.12e-07/2.169, allocations: 0 / 1.662 GB, free: 415.6 MB / 1.311 GB Notification: Performance of Templates: time 0.1175/2.287, allocations: 97.92 MB / 1.757 GB, free: 324.8 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)