Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.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.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_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.001221/0.001221, 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.001189/0.001189, allocations: 193.9 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.19/1.19, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.363/2.363, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 63.66 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2299, allocations: 157.4 MB / 1.052 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.006479/0.2364, allocations: 6.215 MB / 1.058 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1283/0.3647, allocations: 149.2 MB / 1.204 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006906/0.3655, allocations: 15.94 kB / 1.204 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005112/0.366, allocations: 186.5 kB / 1.204 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.3674, allocations: 0.5918 MB / 1.205 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.3689, allocations: 0.8771 MB / 1.206 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001332/0.3703, allocations: 1.99 MB / 1.208 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008827/0.3712, allocations: 0.8344 MB / 1.208 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005608/0.3717, allocations: 0.6304 MB / 1.209 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006401/0.3724, allocations: 0.7507 MB / 1.21 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.3725, allocations: 92 kB / 1.21 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008082/0.3734, allocations: 0.5386 MB / 1.21 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003005/0.3737, allocations: 382.6 kB / 1.211 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005716/0.3742, allocations: 0.7616 MB / 1.211 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.3759, allocations: 2.329 MB / 1.214 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3759, allocations: 0 / 1.214 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of FrontEnd: time 7.52e-07/0.376, allocations: 4 kB / 1.214 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.78e-05/0.376, allocations: 0 / 1.214 GB, free: 2.141 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.003013/0.379, allocations: 1.925 MB / 1.216 GB, free: 160 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.379, allocations: 8.031 kB / 1.216 GB, free: 152 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002019/0.3792, allocations: 198.8 kB / 1.216 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008321/0.3876, allocations: 1.282 MB / 1.217 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.3888, allocations: 1.035 MB / 1.218 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.371e-05/0.3889, allocations: 98.67 kB / 1.218 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.3891, allocations: 128 kB / 1.218 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00452/0.3936, allocations: 2.213 MB / 1.22 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.3937, allocations: 0 / 1.22 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/0.3938, allocations: 56 kB / 1.221 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.3938, allocations: 32 kB / 1.221 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006799/0.4006, allocations: 2.976 MB / 1.223 GB, free: 8.012 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.007688/0.4083, allocations: 5.392 MB / 1.229 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006951/0.4153, allocations: 2.888 MB / 1.232 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002731/0.4181, allocations: 1.125 MB / 1.233 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004521/0.4185, allocations: 0.6142 MB / 1.233 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003191/0.4217, allocations: 1.454 MB / 1.235 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=133): time 2.494e-06/0.4217, allocations: 0 / 1.235 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133): time 0.009835/0.4316, allocations: 3.625 MB / 1.238 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.565e-05/0.4317, allocations: 193.2 kB / 1.238 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008313/0.4325, allocations: 0.8177 MB / 1.239 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.4326, allocations: 53.7 kB / 1.239 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.4329, allocations: 0.5084 MB / 1.24 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003157/0.4333, allocations: 437.7 kB / 1.24 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004263/0.4337, allocations: 258.7 kB / 1.24 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.4338, allocations: 353.9 kB / 1.241 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002723/0.4365, allocations: 1.025 MB / 1.242 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002821/0.4393, allocations: 1.179 MB / 1.243 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005284/0.4446, allocations: 2.048 MB / 1.245 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.4447, allocations: 3.938 kB / 1.245 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.4044/0.8491, allocations: 2.425 MB / 1.247 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.8491, allocations: 6.531 kB / 1.247 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.8491, allocations: 2.234 kB / 1.247 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005819/0.8497, allocations: 84.02 kB / 1.247 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002395/0.8521, allocations: 425.8 kB / 1.248 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.8537, allocations: 1.543 MB / 1.249 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/0.8558, allocations: 283.9 kB / 1.25 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.8559, allocations: 57.8 kB / 1.25 GB, free: 190.2 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 (HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,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,$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 (143): * Single equations (assignments): 142 * 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.0006116/0.8565, allocations: 354.3 kB / 1.25 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002643/0.8568, allocations: 113.8 kB / 1.25 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007089/0.8639, allocations: 2.888 MB / 1.253 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.8639, allocations: 15.84 kB / 1.253 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.8639, allocations: 0 / 1.253 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/0.8639, allocations: 10.66 kB / 1.253 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.8659, allocations: 1.822 MB / 1.255 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.8659, allocations: 3.781 kB / 1.255 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002186/0.8681, allocations: 410.2 kB / 1.255 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004947/0.8686, allocations: 83.34 kB / 1.255 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/0.8688, allocations: 51.23 kB / 1.255 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/0.8702, allocations: 1.558 MB / 1.257 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.8702, allocations: 0 / 1.257 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006455/0.8766, allocations: 2.579 MB / 1.259 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006072/0.8773, allocations: 470.3 kB / 1.26 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/0.8775, allocations: 34.66 kB / 1.26 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/0.8793, allocations: 236.7 kB / 1.26 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.8795, allocations: 101 kB / 1.26 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/0.8797, allocations: 61.88 kB / 1.26 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006626/0.8803, allocations: 0.5869 MB / 1.261 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8803, allocations: 1.469 kB / 1.261 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001152/0.8815, allocations: 0.5041 MB / 1.261 GB, free: 188 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,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * 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.008279/0.8898, allocations: 3.67 MB / 1.265 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006605/0.8964, allocations: 2.491 MB / 1.267 GB, free: 187 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.8964, allocations: 0.5625 kB / 1.267 GB, free: 187 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00361/0.9, allocations: 1.4 MB / 1.269 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.9014, allocations: 319.6 kB / 1.269 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02587/0.9273, allocations: 13.75 MB / 1.282 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005742/0.9279, allocations: 1.201 MB / 1.283 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001756/0.9296, allocations: 495.8 kB / 1.284 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008728/0.9305, allocations: 0.5756 MB / 1.284 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.9305, allocations: 0 / 1.284 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.723/2.654, allocations: 31.74 MB / 1.315 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/2.654, allocations: 289.8 kB / 1.316 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.287/5.942, allocations: 0 / 1.316 GB, free: 153.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1)