Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.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.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",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.001287/0.001287, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001324/0.001324, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.269/1.269, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.51/2.51, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002027, allocations: 65.53 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2461, allocations: 157.4 MB / 1.052 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006823/0.253, allocations: 5.822 MB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1432/0.3962, allocations: 149 MB / 1.203 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.3973, allocations: 19.88 kB / 1.203 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008542/0.3982, allocations: 170.7 kB / 1.204 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001917/0.4001, allocations: 0.5732 MB / 1.204 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.4021, allocations: 0.8537 MB / 1.205 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001592/0.4037, allocations: 1.862 MB / 1.207 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009312/0.4046, allocations: 0.7512 MB / 1.208 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006386/0.4053, allocations: 0.5837 MB / 1.208 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006827/0.406, allocations: 0.7041 MB / 1.209 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.4061, allocations: 84 kB / 1.209 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009159/0.407, allocations: 0.5347 MB / 1.209 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003025/0.4074, allocations: 362.7 kB / 1.21 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005696/0.4079, allocations: 0.6915 MB / 1.21 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.4097, allocations: 2.095 MB / 1.212 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4097, allocations: 7.938 kB / 1.212 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.22e-07/0.4097, allocations: 0 / 1.212 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.4097, allocations: 0 / 1.212 GB, free: 3.465 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003188/0.4129, allocations: 1.819 MB / 1.214 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.413, allocations: 11.97 kB / 1.214 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002028/0.4132, allocations: 186 kB / 1.214 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009488/0.4227, allocations: 1.275 MB / 1.216 GB, free: 108 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.4241, allocations: 0.9611 MB / 1.217 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.864e-05/0.4242, allocations: 86.45 kB / 1.217 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002025/0.4244, allocations: 120 kB / 1.217 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004943/0.4293, allocations: 2.045 MB / 1.219 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.4294, allocations: 3.984 kB / 1.219 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/0.4296, allocations: 52 kB / 1.219 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.4296, allocations: 32 kB / 1.219 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007468/0.4371, allocations: 2.764 MB / 1.222 GB, free: 9.926 MB / 0.9825 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.008698/0.4458, allocations: 4.724 MB / 1.226 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007834/0.4536, allocations: 2.734 MB / 1.229 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002907/0.4566, allocations: 1.035 MB / 1.23 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005455/0.4571, allocations: 0.6141 MB / 1.23 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003574/0.4607, allocations: 1.363 MB / 1.232 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=132): time 2.705e-06/0.4607, allocations: 0 / 1.232 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.01096/0.4717, allocations: 3.375 MB / 1.235 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.582e-05/0.4718, allocations: 197.2 kB / 1.235 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009681/0.4728, allocations: 0.7784 MB / 1.236 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/0.4729, allocations: 53.7 kB / 1.236 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000358/0.4733, allocations: 488.8 kB / 1.237 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003742/0.4737, allocations: 425.8 kB / 1.237 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004684/0.4741, allocations: 254.7 kB / 1.237 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4743, allocations: 349.9 kB / 1.238 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002931/0.4772, allocations: 0.9431 MB / 1.238 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003075/0.4803, allocations: 1.097 MB / 1.24 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005751/0.4861, allocations: 1.899 MB / 1.241 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4861, allocations: 0 / 1.241 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.006998/0.4931, allocations: 2.28 MB / 1.244 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.4931, allocations: 4 kB / 1.244 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4931, allocations: 0 / 1.244 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006313/0.4938, allocations: 88.78 kB / 1.244 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002349/0.4961, allocations: 415.3 kB / 1.244 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.4982, allocations: 1.54 MB / 1.246 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002213/0.5004, allocations: 286.7 kB / 1.246 GB, free: 404 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.5005, allocations: 59.88 kB / 1.246 GB, free: 344 kB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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,incAng.decAng.tNext,$PRE.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 (142): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * 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.0006332/0.5012, allocations: 331.3 kB / 1.246 GB, free: 4 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.4208/0.922, allocations: 104.3 kB / 1.246 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008217/0.9303, allocations: 2.725 MB / 1.249 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/0.9303, allocations: 18.28 kB / 1.249 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.9303, allocations: 0.875 kB / 1.249 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.9303, allocations: 11.27 kB / 1.249 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009493/0.9398, allocations: 4.313 MB / 1.253 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.9399, allocations: 0.5156 kB / 1.253 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002224/0.9421, allocations: 408 kB / 1.254 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000505/0.9426, allocations: 90.22 kB / 1.254 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/0.9427, allocations: 50.48 kB / 1.254 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/0.9442, allocations: 1.56 MB / 1.255 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.9442, allocations: 0.7031 kB / 1.255 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006853/0.9511, allocations: 2.486 MB / 1.258 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000611/0.9517, allocations: 430.7 kB / 1.258 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002291/0.952, allocations: 36.06 kB / 1.258 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002063/0.954, allocations: 231.1 kB / 1.258 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/0.9542, allocations: 99.67 kB / 1.259 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/0.9544, allocations: 63.56 kB / 1.259 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006525/0.9551, allocations: 0.557 MB / 1.259 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.02e-07/0.9551, allocations: 0 / 1.259 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00112/0.9562, allocations: 497.6 kB / 1.26 GB, free: 190.2 MB / 0.9981 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * 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.009032/0.9652, allocations: 3.582 MB / 1.263 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007033/0.9723, allocations: 2.314 MB / 1.265 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.9723, allocations: 0.625 kB / 1.265 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003954/0.9763, allocations: 1.315 MB / 1.267 GB, free: 189 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.9777, allocations: 316.3 kB / 1.267 GB, free: 189 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02804/1.006, allocations: 12.94 MB / 1.28 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005743/1.006, allocations: 1.161 MB / 1.281 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001791/1.008, allocations: 488.2 kB / 1.281 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000884/1.009, allocations: 0.539 MB / 1.282 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of SimCode: time 7.91e-07/1.009, allocations: 0 / 1.282 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.764/1.773, allocations: 30.22 MB / 1.311 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/1.773, allocations: 290.3 kB / 1.311 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.775/4.549, allocations: 3.125 kB / 1.311 GB, free: 158.6 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1)