Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_latest_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.001082/0.001082, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00101/0.00101, allocations: 190.5 kB / 16.13 MB, free: 6.645 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 / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.572/2.572, allocations: 461.8 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 59.86 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2476, allocations: 157.4 MB / 1.052 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.009666/0.2573, allocations: 8.472 MB / 1.06 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1554/0.4127, allocations: 157.4 MB / 1.214 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/0.4142, allocations: 35.75 kB / 1.214 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005229/0.4194, allocations: 1.822 MB / 1.216 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003546/0.423, allocations: 1.135 MB / 1.217 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002927/0.4259, allocations: 1.261 MB / 1.218 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00468/0.4306, allocations: 5.398 MB / 1.224 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.432, allocations: 1.191 MB / 1.225 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.4336, allocations: 1.46 MB / 1.226 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001467/0.4351, allocations: 1.526 MB / 1.228 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002888/0.4354, allocations: 132 kB / 1.228 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003213/0.4386, allocations: 2.274 MB / 1.23 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.003505/0.4421, allocations: 4.64 MB / 1.235 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003985/0.4461, allocations: 4.138 MB / 1.239 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.5236/0.9697, allocations: 17.49 MB / 1.256 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.9697, allocations: 3.5 kB / 1.256 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.545e-06/0.9697, allocations: 0.6094 kB / 1.256 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003157/0.9701, allocations: 1.875 kB / 1.256 GB, free: 15.8 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.03854/1.009, allocations: 14.11 MB / 1.27 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/1.009, allocations: 9.844 kB / 1.27 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000398/1.009, allocations: 246 kB / 1.27 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006557/1.016, allocations: 0.9151 MB / 1.271 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.208/2.224, allocations: 0.9972 GB / 2.268 GB, free: 118.6 MB / 1.42 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/2.224, allocations: 179 kB / 2.268 GB, free: 118.4 MB / 1.42 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003158/2.225, allocations: 232 kB / 2.268 GB, free: 118.2 MB / 1.42 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003117/2.228, allocations: 2.374 MB / 2.271 GB, free: 115.8 MB / 1.42 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/2.228, allocations: 0 / 2.271 GB, free: 115.8 MB / 1.42 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/2.228, allocations: 72 kB / 2.271 GB, free: 115.7 MB / 1.42 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/2.228, allocations: 37.08 kB / 2.271 GB, free: 115.7 MB / 1.42 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003004/2.231, allocations: 2.467 MB / 2.273 GB, free: 113.2 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.5619/2.793, allocations: 243.1 MB / 2.51 GB, free: 0.4992 GB / 1.42 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002594/2.795, allocations: 1.981 MB / 2.512 GB, free: 0.4973 GB / 1.42 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/2.797, allocations: 1.283 MB / 2.514 GB, free: 0.496 GB / 1.42 GB Notification: Performance of preOpt evalFunc (simulation): time 8.508e-05/2.797, allocations: 38.62 kB / 2.514 GB, free: 0.496 GB / 1.42 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001456/2.798, allocations: 1.353 MB / 2.515 GB, free: 0.4946 GB / 1.42 GB Notification: Performance of pre-optimization done (n=138): time 2.504e-06/2.798, allocations: 0 / 2.515 GB, free: 0.4946 GB / 1.42 GB Notification: Performance of matching and sorting (n=138): time 0.01006/2.808, allocations: 4.324 MB / 2.519 GB, free: 0.4908 GB / 1.42 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/2.808, allocations: 362.5 kB / 2.52 GB, free: 0.4904 GB / 1.42 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.034/4.842, allocations: 1.182 GB / 3.702 GB, free: 0.5383 GB / 1.42 GB Notification: Performance of collectPreVariables (initialization): time 0.0005669/4.843, allocations: 85.7 kB / 3.702 GB, free: 0.5382 GB / 1.42 GB Notification: Performance of collectInitialEqns (initialization): time 0.004115/4.847, allocations: 3.743 MB / 3.706 GB, free: 0.5348 GB / 1.42 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003231/4.847, allocations: 455.3 kB / 3.706 GB, free: 0.5346 GB / 1.42 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007344/4.848, allocations: 0.6733 MB / 3.707 GB, free: 0.5339 GB / 1.42 GB Notification: Performance of setup shared object (initialization): time 3.308e-05/4.848, allocations: 311.4 kB / 3.707 GB, free: 0.5336 GB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002065/4.85, allocations: 1.923 MB / 3.709 GB, free: 0.5317 GB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002307/4.852, allocations: 2.882 MB / 3.712 GB, free: 0.5286 GB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004055/4.856, allocations: 4.616 MB / 3.716 GB, free: 0.5237 GB / 1.42 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/4.856, allocations: 9.5 kB / 3.716 GB, free: 0.5237 GB / 1.42 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01042/4.867, allocations: 5.99 MB / 3.722 GB, free: 0.518 GB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001325/4.867, allocations: 201.6 kB / 3.722 GB, free: 0.5178 GB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/4.867, allocations: 28 kB / 3.722 GB, free: 0.5178 GB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006119/4.867, allocations: 125.4 kB / 3.722 GB, free: 0.5177 GB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/4.869, allocations: 0.612 MB / 3.723 GB, free: 0.5171 GB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/4.871, allocations: 1.587 MB / 3.725 GB, free: 0.5154 GB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005122/4.876, allocations: 1.185 MB / 3.726 GB, free: 0.5142 GB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/4.876, allocations: 148 kB / 3.726 GB, free: 0.5141 GB / 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.003742/4.88, allocations: 3.846 MB / 3.73 GB, free: 0.5103 GB / 1.42 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002644/4.883, allocations: 0.7477 MB / 3.73 GB, free: 0.5096 GB / 1.42 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005274/4.888, allocations: 4.364 MB / 3.735 GB, free: 0.5053 GB / 1.42 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/4.888, allocations: 15.94 kB / 3.735 GB, free: 0.5053 GB / 1.42 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/4.888, allocations: 4 kB / 3.735 GB, free: 0.5053 GB / 1.42 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/4.888, allocations: 7.969 kB / 3.735 GB, free: 0.5053 GB / 1.42 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005574/4.894, allocations: 6.773 MB / 3.741 GB, free: 0.4986 GB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/4.894, allocations: 0 / 3.741 GB, free: 0.4986 GB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008577/4.894, allocations: 203.7 kB / 3.742 GB, free: 0.4984 GB / 1.42 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005133/4.895, allocations: 87.78 kB / 3.742 GB, free: 0.4983 GB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-05/4.895, allocations: 43.97 kB / 3.742 GB, free: 0.4983 GB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/4.897, allocations: 1.542 MB / 3.743 GB, free: 0.4967 GB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/4.897, allocations: 0 / 3.743 GB, free: 0.4967 GB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005882/4.902, allocations: 3.869 MB / 3.747 GB, free: 0.4929 GB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003782/4.906, allocations: 3.132 MB / 3.75 GB, free: 0.4898 GB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00134/4.908, allocations: 35.94 kB / 3.75 GB, free: 0.4897 GB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003328/4.911, allocations: 0.7733 MB / 3.751 GB, free: 0.489 GB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/4.911, allocations: 101.2 kB / 3.751 GB, free: 0.4889 GB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/4.911, allocations: 63.97 kB / 3.751 GB, free: 0.4888 GB / 1.42 GB Notification: Performance of sorting global known variables: time 1.028/5.939, allocations: 0.9475 GB / 4.698 GB, free: 158.7 MB / 1.42 GB Notification: Performance of sort global known variables: time 1.663e-06/5.94, allocations: 0 / 4.698 GB, free: 158.7 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.007666/5.947, allocations: 1.889 MB / 4.7 GB, free: 157 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.00939/5.957, allocations: 5.349 MB / 4.705 GB, free: 152.4 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.005131/5.962, allocations: 5.715 MB / 4.711 GB, free: 146.7 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/5.962, allocations: 3.594 kB / 4.711 GB, free: 146.7 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.002085/5.964, allocations: 2.71 MB / 4.714 GB, free: 144 MB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004528/5.968, allocations: 0.8141 MB / 4.714 GB, free: 143.2 MB / 1.42 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 6.736/12.7, allocations: 4.835 GB / 9.55 GB, free: 0.5093 GB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003284/12.71, allocations: 4.657 MB / 9.554 GB, free: 0.505 GB / 1.42 GB Notification: Performance of simCode: alias equations: time 0.005975/12.71, allocations: 3.014 MB / 9.557 GB, free: 0.5023 GB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004913/12.72, allocations: 4.029 MB / 9.561 GB, free: 0.4984 GB / 1.42 GB Notification: Performance of SimCode: time 5.11e-07/12.72, allocations: 0 / 9.561 GB, free: 0.4984 GB / 1.42 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.383/16.1, allocations: 0.7061 GB / 10.27 GB, free: 385.5 MB / 1.42 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/16.1, allocations: 339.8 kB / 10.27 GB, free: 385.2 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.726/21.83, allocations: 0 / 10.27 GB, free: 385.2 MB / 1.42 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)