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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004902/0.004902, allocations: 104.2 kB / 15.73 MB, free: 5.953 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.001341/0.001341, allocations: 190.3 kB / 16.67 MB, free: 5.871 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.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.443/2.443, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 63.89 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.61/0.6117, allocations: 159.1 MB / 1.22 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.00959/0.6214, allocations: 8.532 MB / 1.229 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1639/0.7852, allocations: 159.4 MB / 1.384 GB, free: 9.402 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.7864, allocations: 39.81 kB / 1.384 GB, free: 9.363 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004066/0.7904, allocations: 1.989 MB / 1.386 GB, free: 7.367 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002319/0.7928, allocations: 1.268 MB / 1.387 GB, free: 6.098 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.7955, allocations: 1.44 MB / 1.389 GB, free: 4.664 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004803/0.8004, allocations: 5.434 MB / 1.394 GB, free: 15.22 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.8019, allocations: 1.223 MB / 1.395 GB, free: 13.95 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002048/0.8039, allocations: 1.73 MB / 1.397 GB, free: 12.21 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.8056, allocations: 1.557 MB / 1.399 GB, free: 10.65 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003809/0.806, allocations: 288 kB / 1.399 GB, free: 10.37 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003743/0.8098, allocations: 2.575 MB / 1.401 GB, free: 7.789 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.003618/0.8134, allocations: 4.776 MB / 1.406 GB, free: 3.004 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.004676/0.8181, allocations: 4.868 MB / 1.411 GB, free: 14.11 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01629/0.8344, allocations: 17.9 MB / 1.428 GB, free: 12.16 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.8344, allocations: 0 / 1.428 GB, free: 12.16 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.132e-06/0.8344, allocations: 0 / 1.428 GB, free: 12.16 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001814/0.8346, allocations: 0 / 1.428 GB, free: 12.16 MB / 1.154 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.02611/0.8607, allocations: 14.43 MB / 1.442 GB, free: 13.6 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.8608, allocations: 16.03 kB / 1.442 GB, free: 13.59 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003006/0.8611, allocations: 240.9 kB / 1.443 GB, free: 13.34 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003301/0.8644, allocations: 0.9597 MB / 1.444 GB, free: 12.38 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.632/2.497, allocations: 0.9948 GB / 2.438 GB, free: 263 MB / 1.514 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.262e-05/2.497, allocations: 171.1 kB / 2.438 GB, free: 262.8 MB / 1.514 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002287/2.497, allocations: 236 kB / 2.439 GB, free: 262.6 MB / 1.514 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/2.5, allocations: 2.373 MB / 2.441 GB, free: 260.2 MB / 1.514 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/2.5, allocations: 5.078 kB / 2.441 GB, free: 260.2 MB / 1.514 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/2.5, allocations: 67.98 kB / 2.441 GB, free: 260.1 MB / 1.514 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/2.5, allocations: 40 kB / 2.441 GB, free: 260 MB / 1.514 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002543/2.502, allocations: 2.463 MB / 2.444 GB, free: 257.6 MB / 1.514 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.1012/2.603, allocations: 243.1 MB / 2.681 GB, free: 14.22 MB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/2.606, allocations: 1.986 MB / 2.683 GB, free: 12.23 MB / 1.514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/2.607, allocations: 1.281 MB / 2.684 GB, free: 10.95 MB / 1.514 GB Notification: Performance of preOpt evalFunc (simulation): time 7.547e-05/2.607, allocations: 41.09 kB / 2.684 GB, free: 10.91 MB / 1.514 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001295/2.608, allocations: 1.36 MB / 2.685 GB, free: 9.531 MB / 1.514 GB Notification: Performance of pre-optimization done (n=138): time 2.244e-06/2.608, allocations: 0 / 2.685 GB, free: 9.531 MB / 1.514 GB Notification: Performance of matching and sorting (n=138): time 0.008124/2.616, allocations: 4.364 MB / 2.69 GB, free: 5.129 MB / 1.514 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/2.616, allocations: 362.5 kB / 2.69 GB, free: 4.727 MB / 1.514 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.483/5.1, allocations: 1.182 GB / 3.872 GB, free: 0.5424 GB / 1.529 GB Notification: Performance of collectPreVariables (initialization): time 0.0003922/5.1, allocations: 86.17 kB / 3.873 GB, free: 0.5424 GB / 1.529 GB Notification: Performance of collectInitialEqns (initialization): time 0.004162/5.104, allocations: 3.757 MB / 3.876 GB, free: 0.5399 GB / 1.529 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004095/5.105, allocations: 476.3 kB / 3.877 GB, free: 0.5398 GB / 1.529 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007857/5.106, allocations: 0.68 MB / 3.877 GB, free: 0.5396 GB / 1.529 GB Notification: Performance of setup shared object (initialization): time 2.989e-05/5.106, allocations: 303.6 kB / 3.878 GB, free: 0.5393 GB / 1.529 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002287/5.108, allocations: 1.927 MB / 3.88 GB, free: 0.5388 GB / 1.529 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002568/5.111, allocations: 2.879 MB / 3.882 GB, free: 0.5372 GB / 1.529 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004033/5.115, allocations: 4.611 MB / 3.887 GB, free: 0.5349 GB / 1.529 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/5.115, allocations: 12.66 kB / 3.887 GB, free: 0.5349 GB / 1.529 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01002/5.125, allocations: 6.027 MB / 3.893 GB, free: 0.533 GB / 1.529 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001499/5.125, allocations: 203.7 kB / 3.893 GB, free: 0.5329 GB / 1.529 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.937e-05/5.125, allocations: 34.88 kB / 3.893 GB, free: 0.5329 GB / 1.529 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000571/5.125, allocations: 124.5 kB / 3.893 GB, free: 0.5329 GB / 1.529 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/5.127, allocations: 0.6089 MB / 3.894 GB, free: 0.5328 GB / 1.529 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/5.129, allocations: 1.688 MB / 3.895 GB, free: 0.5313 GB / 1.529 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005297/5.134, allocations: 1.189 MB / 3.896 GB, free: 0.531 GB / 1.529 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001918/5.134, allocations: 144.6 kB / 3.897 GB, free: 0.531 GB / 1.529 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 128 * Number of states: 0 () * Number of discrete variables: 18 (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 (345): * Single equations (assignments): 343 * Array equations: 0 * 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.003834/5.138, allocations: 3.846 MB / 3.9 GB, free: 0.5299 GB / 1.529 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002839/5.141, allocations: 0.7997 MB / 3.901 GB, free: 0.5294 GB / 1.529 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005339/5.146, allocations: 4.353 MB / 3.905 GB, free: 0.5282 GB / 1.529 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/5.146, allocations: 16.2 kB / 3.905 GB, free: 0.5282 GB / 1.529 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/5.146, allocations: 0 / 3.905 GB, free: 0.5282 GB / 1.529 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/5.146, allocations: 9.875 kB / 3.905 GB, free: 0.5282 GB / 1.529 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005817/5.152, allocations: 6.785 MB / 3.912 GB, free: 0.5252 GB / 1.529 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/5.152, allocations: 0 / 3.912 GB, free: 0.5252 GB / 1.529 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007795/5.153, allocations: 207.4 kB / 3.912 GB, free: 0.5252 GB / 1.529 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004037/5.153, allocations: 79.2 kB / 3.912 GB, free: 0.5251 GB / 1.529 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-05/5.154, allocations: 39.47 kB / 3.912 GB, free: 0.5251 GB / 1.529 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/5.155, allocations: 1.657 MB / 3.914 GB, free: 0.5235 GB / 1.529 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/5.155, allocations: 3.203 kB / 3.914 GB, free: 0.5235 GB / 1.529 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005881/5.161, allocations: 3.915 MB / 3.918 GB, free: 0.5218 GB / 1.529 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003674/5.164, allocations: 3.18 MB / 3.921 GB, free: 0.5194 GB / 1.529 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00134/5.166, allocations: 31.56 kB / 3.921 GB, free: 0.5194 GB / 1.529 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00299/5.169, allocations: 0.7525 MB / 3.922 GB, free: 0.5193 GB / 1.529 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/5.169, allocations: 105 kB / 3.922 GB, free: 0.5193 GB / 1.529 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/5.169, allocations: 70.72 kB / 3.922 GB, free: 0.5192 GB / 1.529 GB Notification: Performance of sorting global known variables: time 0.9855/6.155, allocations: 0.9475 GB / 4.869 GB, free: 152.7 MB / 1.529 GB Notification: Performance of sort global known variables: time 6.11e-07/6.155, allocations: 0 / 4.869 GB, free: 152.7 MB / 1.529 GB Notification: Performance of remove unused functions: time 0.005634/6.16, allocations: 1.889 MB / 4.871 GB, free: 150.9 MB / 1.529 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.008027/6.168, allocations: 5.411 MB / 4.876 GB, free: 146.3 MB / 1.529 GB Notification: Performance of simCode: created initialization part: time 0.004675/6.173, allocations: 5.729 MB / 4.882 GB, free: 140.6 MB / 1.529 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/6.173, allocations: 4 kB / 4.882 GB, free: 140.6 MB / 1.529 GB Notification: Performance of simCode: created simulation system equations: time 0.001876/6.175, allocations: 2.715 MB / 4.885 GB, free: 137.9 MB / 1.529 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003315/6.178, allocations: 0.844 MB / 4.886 GB, free: 137 MB / 1.529 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 6.5/12.68, allocations: 4.771 GB / 9.657 GB, free: 103.4 MB / 1.561 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003331/12.68, allocations: 4.644 MB / 9.661 GB, free: 98.75 MB / 1.561 GB Notification: Performance of simCode: alias equations: time 0.005277/12.69, allocations: 3.022 MB / 9.664 GB, free: 95.82 MB / 1.561 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005386/12.69, allocations: 4.021 MB / 9.668 GB, free: 91.79 MB / 1.561 GB Notification: Performance of SimCode: time 6.52e-07/12.69, allocations: 0 / 9.668 GB, free: 91.79 MB / 1.561 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 12.82/25.51, allocations: 0.713 GB / 10.38 GB, free: 26.23 MB / 1.576 GB Notification: Performance of buildModelFMU: Generate platform static: time 44.43/69.94, allocations: 4.219 kB / 10.38 GB, free: 26.23 MB / 1.576 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)