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.001453/0.001453, 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.001372/0.001372, allocations: 196.9 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.271/1.271, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.492/2.492, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 71.56 kB / 0.9087 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2335, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.009394/0.243, allocations: 8.519 MB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1582/0.4012, allocations: 159.4 MB / 1.228 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000932/0.4022, allocations: 35.81 kB / 1.228 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003888/0.4061, allocations: 1.984 MB / 1.23 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002131/0.4082, allocations: 1.249 MB / 1.231 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002549/0.4108, allocations: 1.445 MB / 1.233 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004276/0.4151, allocations: 5.415 MB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/0.4165, allocations: 1.239 MB / 1.239 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/0.4181, allocations: 1.714 MB / 1.241 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001614/0.4198, allocations: 1.557 MB / 1.242 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003707/0.4201, allocations: 288 kB / 1.243 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/0.4234, allocations: 2.544 MB / 1.245 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.4149/0.8383, allocations: 4.778 MB / 1.25 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005067/0.8434, allocations: 4.863 MB / 1.255 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01401/0.8575, allocations: 17.7 MB / 1.272 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.8575, allocations: 2.906 kB / 1.272 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8575, allocations: 0 / 1.272 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002604/0.8578, allocations: 1.219 kB / 1.272 GB, free: 10.78 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.0256/0.8834, allocations: 14.1 MB / 1.286 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.8834, allocations: 10.72 kB / 1.286 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002523/0.8837, allocations: 243.4 kB / 1.286 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00339/0.8871, allocations: 0.9199 MB / 1.287 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.146/2.033, allocations: 0.997 GB / 2.284 GB, free: 96.11 MB / 1.42 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.653e-05/2.034, allocations: 175.1 kB / 2.284 GB, free: 95.94 MB / 1.42 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002478/2.034, allocations: 236 kB / 2.284 GB, free: 95.71 MB / 1.42 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002599/2.036, allocations: 2.369 MB / 2.287 GB, free: 93.28 MB / 1.42 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/2.036, allocations: 3.938 kB / 2.287 GB, free: 93.27 MB / 1.42 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/2.037, allocations: 68 kB / 2.287 GB, free: 93.21 MB / 1.42 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/2.037, allocations: 40 kB / 2.287 GB, free: 93.17 MB / 1.42 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002545/2.039, allocations: 2.463 MB / 2.289 GB, free: 90.7 MB / 1.42 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.5083/2.547, allocations: 243.1 MB / 2.526 GB, free: 480.1 MB / 1.42 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002361/2.55, allocations: 1.983 MB / 2.528 GB, free: 478.1 MB / 1.42 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/2.551, allocations: 1.275 MB / 2.53 GB, free: 476.9 MB / 1.42 GB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-05/2.551, allocations: 40.38 kB / 2.53 GB, free: 476.8 MB / 1.42 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001298/2.552, allocations: 1.359 MB / 2.531 GB, free: 475.5 MB / 1.42 GB Notification: Performance of pre-optimization done (n=138): time 2.315e-06/2.552, allocations: 3.75 kB / 2.531 GB, free: 475.5 MB / 1.42 GB Notification: Performance of matching and sorting (n=138): time 0.009716/2.562, allocations: 4.32 MB / 2.535 GB, free: 471.6 MB / 1.42 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/2.562, allocations: 362.5 kB / 2.536 GB, free: 471.2 MB / 1.42 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.91/4.472, allocations: 1.182 GB / 3.718 GB, free: 0.492 GB / 1.42 GB Notification: Performance of collectPreVariables (initialization): time 0.0006054/4.473, allocations: 85.7 kB / 3.718 GB, free: 0.4919 GB / 1.42 GB Notification: Performance of collectInitialEqns (initialization): time 0.004709/4.477, allocations: 3.746 MB / 3.722 GB, free: 0.4885 GB / 1.42 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004297/4.478, allocations: 450.8 kB / 3.722 GB, free: 500 MB / 1.42 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007236/4.479, allocations: 0.6768 MB / 3.723 GB, free: 499.3 MB / 1.42 GB Notification: Performance of setup shared object (initialization): time 3.102e-05/4.479, allocations: 305.1 kB / 3.723 GB, free: 499 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/4.481, allocations: 1.928 MB / 3.725 GB, free: 497.1 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00208/4.483, allocations: 2.882 MB / 3.728 GB, free: 493.8 MB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003651/4.486, allocations: 4.611 MB / 3.732 GB, free: 488.9 MB / 1.42 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/4.486, allocations: 9.688 kB / 3.732 GB, free: 488.9 MB / 1.42 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01022/4.497, allocations: 5.982 MB / 3.738 GB, free: 483 MB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001212/4.497, allocations: 217.6 kB / 3.738 GB, free: 482.8 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/4.497, allocations: 28 kB / 3.738 GB, free: 482.8 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005413/4.497, allocations: 120.8 kB / 3.738 GB, free: 482.7 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/4.499, allocations: 0.613 MB / 3.739 GB, free: 482.1 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/4.5, allocations: 1.681 MB / 3.741 GB, free: 480.2 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004998/4.505, allocations: 1.174 MB / 3.742 GB, free: 479.1 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/4.506, allocations: 148 kB / 3.742 GB, free: 478.9 MB / 1.42 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.003729/4.509, allocations: 3.843 MB / 3.746 GB, free: 475.1 MB / 1.42 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002788/4.512, allocations: 0.7555 MB / 3.746 GB, free: 474.3 MB / 1.42 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004854/4.517, allocations: 4.352 MB / 3.751 GB, free: 469.9 MB / 1.42 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/4.517, allocations: 12 kB / 3.751 GB, free: 469.9 MB / 1.42 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/4.517, allocations: 0 / 3.751 GB, free: 469.9 MB / 1.42 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/4.517, allocations: 3.984 kB / 3.751 GB, free: 469.9 MB / 1.42 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006293/4.523, allocations: 6.785 MB / 3.757 GB, free: 463.1 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/4.523, allocations: 0 / 3.757 GB, free: 463.1 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007765/4.524, allocations: 207.1 kB / 3.758 GB, free: 462.9 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003989/4.525, allocations: 79.86 kB / 3.758 GB, free: 462.8 MB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/4.525, allocations: 45.77 kB / 3.758 GB, free: 462.8 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/4.526, allocations: 1.66 MB / 3.759 GB, free: 461 MB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/4.526, allocations: 0 / 3.759 GB, free: 461 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007487/4.533, allocations: 3.867 MB / 3.763 GB, free: 457.1 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00486/4.538, allocations: 3.14 MB / 3.766 GB, free: 453.9 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001697/4.54, allocations: 35.88 kB / 3.766 GB, free: 453.8 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003111/4.543, allocations: 0.7556 MB / 3.767 GB, free: 453.1 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001973/4.543, allocations: 107.3 kB / 3.767 GB, free: 453 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/4.543, allocations: 67.97 kB / 3.767 GB, free: 452.9 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.9654/5.509, allocations: 0.9475 GB / 4.715 GB, free: 103.4 MB / 1.42 GB Notification: Performance of sort global known variables: time 6.01e-07/5.509, allocations: 0 / 4.715 GB, free: 103.4 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.008266/5.517, allocations: 1.877 MB / 4.716 GB, free: 101.7 MB / 1.42 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.009729/5.527, allocations: 5.359 MB / 4.722 GB, free: 97.14 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.006387/5.533, allocations: 6.574 MB / 4.728 GB, free: 90.59 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/5.533, allocations: 0 / 4.728 GB, free: 90.59 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.001904/5.535, allocations: 2.717 MB / 4.731 GB, free: 87.85 MB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004711/5.54, allocations: 0.8333 MB / 4.732 GB, free: 87.04 MB / 1.42 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 6.548/12.09, allocations: 4.835 GB / 9.566 GB, free: 400.3 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003424/12.09, allocations: 4.65 MB / 9.571 GB, free: 395.7 MB / 1.42 GB Notification: Performance of simCode: alias equations: time 0.006431/12.1, allocations: 3.023 MB / 9.574 GB, free: 392.9 MB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004929/12.1, allocations: 4.028 MB / 9.578 GB, free: 388.9 MB / 1.42 GB Notification: Performance of SimCode: time 5.31e-07/12.1, allocations: 0 / 9.578 GB, free: 388.9 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.206/18.31, allocations: 0.7098 GB / 10.29 GB, free: 253.7 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.56/45.86, allocations: 13.53 kB / 10.29 GB, free: 253.7 MB / 1.42 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)