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.0008524/0.0008524, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.004873/0.004873, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.295/1.295, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.565/2.565, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003475, allocations: 10.75 kB / 0.9029 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2809, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.005975/0.2869, allocations: 5.386 MB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1436/0.4305, allocations: 147 MB / 1.208 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009159/0.4315, allocations: 19.88 kB / 1.208 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007123/0.4322, allocations: 174.7 kB / 1.208 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001984/0.4342, allocations: 0.5636 MB / 1.208 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.4363, allocations: 0.839 MB / 1.209 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001984/0.4383, allocations: 1.878 MB / 1.211 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009514/0.4393, allocations: 0.7356 MB / 1.212 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005889/0.4399, allocations: 497.8 kB / 1.212 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006218/0.4405, allocations: 0.5831 MB / 1.213 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.424e-05/0.4406, allocations: 40 kB / 1.213 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008742/0.4415, allocations: 0.4917 MB / 1.213 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002516/0.4418, allocations: 294.7 kB / 1.214 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000519/0.4423, allocations: 0.6425 MB / 1.214 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.444, allocations: 2.024 MB / 1.216 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.444, allocations: 3.938 kB / 1.216 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.035e-06/0.444, allocations: 4 kB / 1.216 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.444, allocations: 0 / 1.216 GB, free: 3.051 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.002696/0.4467, allocations: 1.526 MB / 1.218 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.4468, allocations: 15.97 kB / 1.218 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000215/0.447, allocations: 186 kB / 1.218 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009367/0.4564, allocations: 1.568 MB / 1.219 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.4577, allocations: 0.9495 MB / 1.22 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.996e-05/0.4578, allocations: 94.39 kB / 1.22 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/0.458, allocations: 120 kB / 1.221 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004878/0.4629, allocations: 2.159 MB / 1.223 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.4629, allocations: 0 / 1.223 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/0.4631, allocations: 52 kB / 1.223 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/0.4631, allocations: 32 kB / 1.223 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007601/0.4707, allocations: 3.01 MB / 1.226 GB, free: 9.152 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.007961/0.4787, allocations: 4.826 MB / 1.23 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008043/0.4867, allocations: 3.012 MB / 1.233 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003177/0.4899, allocations: 1.161 MB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005197/0.4905, allocations: 0.6099 MB / 1.235 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003603/0.4941, allocations: 1.484 MB / 1.236 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=132): time 3.196e-06/0.4941, allocations: 0 / 1.236 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.01113/0.5052, allocations: 3.723 MB / 1.24 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.128e-05/0.5053, allocations: 201.2 kB / 1.24 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009346/0.5063, allocations: 0.7706 MB / 1.241 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001284/0.5064, allocations: 53.7 kB / 1.241 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/0.5068, allocations: 484.8 kB / 1.242 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003366/0.5071, allocations: 433.8 kB / 1.242 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.5073, allocations: 89.67 kB / 1.242 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5074, allocations: 353.9 kB / 1.242 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003122/0.5105, allocations: 1.056 MB / 1.243 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003228/0.5138, allocations: 1.206 MB / 1.245 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006123/0.5199, allocations: 2.126 MB / 1.247 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.5199, allocations: 7.938 kB / 1.247 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.007305/0.5272, allocations: 2.503 MB / 1.249 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.5273, allocations: 8 kB / 1.249 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.5273, allocations: 8.047 kB / 1.249 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005889/0.5279, allocations: 84.77 kB / 1.249 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002389/0.5303, allocations: 475.3 kB / 1.25 GB, free: 28 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.464/0.9943, allocations: 1.536 MB / 1.251 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00246/0.9968, allocations: 350.3 kB / 1.252 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.997, allocations: 60.28 kB / 1.252 GB, free: 187.8 MB / 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.0006245/0.9976, allocations: 336.7 kB / 1.252 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.9978, allocations: 112 kB / 1.252 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007918/1.006, allocations: 2.953 MB / 1.255 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.078e-06/1.006, allocations: 16.44 kB / 1.255 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.006, allocations: 3.938 kB / 1.255 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/1.006, allocations: 12.69 kB / 1.255 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008973/1.015, allocations: 4.537 MB / 1.259 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/1.015, allocations: 0 / 1.259 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002271/1.017, allocations: 475.8 kB / 1.26 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005127/1.018, allocations: 87.62 kB / 1.26 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/1.018, allocations: 49.22 kB / 1.26 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/1.019, allocations: 1.56 MB / 1.261 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.019, allocations: 4.406 kB / 1.261 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007204/1.026, allocations: 2.718 MB / 1.264 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005965/1.027, allocations: 446.5 kB / 1.265 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/1.027, allocations: 26.48 kB / 1.265 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002188/1.029, allocations: 305 kB / 1.265 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000206/1.03, allocations: 103.1 kB / 1.265 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/1.03, allocations: 64.23 kB / 1.265 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007028/1.031, allocations: 0.5601 MB / 1.266 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.031, allocations: 0 / 1.266 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001257/1.032, allocations: 492.4 kB / 1.266 GB, free: 185.3 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.009086/1.041, allocations: 3.807 MB / 1.27 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007217/1.048, allocations: 2.546 MB / 1.272 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.048, allocations: 0 / 1.272 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003588/1.052, allocations: 1.423 MB / 1.274 GB, free: 184 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/1.053, allocations: 317.5 kB / 1.274 GB, free: 184 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02765/1.081, allocations: 13.66 MB / 1.287 GB, free: 179 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005364/1.081, allocations: 1.165 MB / 1.288 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001536/1.083, allocations: 484 kB / 1.289 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008004/1.084, allocations: 0.5404 MB / 1.289 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/1.084, allocations: 0 / 1.289 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.12/2.203, allocations: 29.84 MB / 1.319 GB, free: 152 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/2.204, allocations: 303.5 kB / 1.319 GB, free: 151.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.009/5.212, allocations: 0 / 1.319 GB, free: 151.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)