Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.SideFins,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_9_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.006712/0.006711, allocations: 107 kB / 15.74 MB, free: 5.996 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.001136/0.001136, allocations: 197.6 kB / 16.68 MB, free: 5.918 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.192/2.192, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.89 kB / 0.9504 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7758/0.7771, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007255/0.7844, allocations: 5.253 MB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1902/0.9746, allocations: 151.4 MB / 1.24 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/0.9759, allocations: 17.69 kB / 1.24 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006866/0.9766, allocations: 211.7 kB / 1.241 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.979, allocations: 0.6126 MB / 1.241 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.9815, allocations: 0.9975 MB / 1.242 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002299/0.9838, allocations: 1.892 MB / 1.244 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.9853, allocations: 0.9027 MB / 1.245 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.9865, allocations: 0.7061 MB / 1.246 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008691/0.9874, allocations: 0.778 MB / 1.246 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002314/0.9876, allocations: 192 kB / 1.247 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.9889, allocations: 0.6675 MB / 1.247 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004051/0.9893, allocations: 478.6 kB / 1.248 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007526/0.9901, allocations: 0.8202 MB / 1.249 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002952/0.9931, allocations: 2.418 MB / 1.251 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.9931, allocations: 0 / 1.251 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9931, allocations: 0 / 1.251 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.021e-05/0.9931, allocations: 4 kB / 1.251 GB, free: 6.398 MB / 0.9825 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.003412/0.9965, allocations: 1.89 MB / 1.253 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.9966, allocations: 12.03 kB / 1.253 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002377/0.9968, allocations: 198.7 kB / 1.253 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009409/1.006, allocations: 1.282 MB / 1.254 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/1.008, allocations: 1.063 MB / 1.255 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.46e-05/1.008, allocations: 102.7 kB / 1.255 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002442/1.009, allocations: 124 kB / 1.255 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005381/1.014, allocations: 2.209 MB / 1.258 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/1.014, allocations: 4 kB / 1.258 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/1.014, allocations: 56 kB / 1.258 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.773e-05/1.014, allocations: 32 kB / 1.258 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008186/1.022, allocations: 2.964 MB / 1.261 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00933/1.032, allocations: 5.037 MB / 1.265 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008455/1.04, allocations: 2.877 MB / 1.268 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003429/1.044, allocations: 1.125 MB / 1.269 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005558/1.044, allocations: 0.6066 MB / 1.27 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003892/1.048, allocations: 1.459 MB / 1.271 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=133): time 3.146e-06/1.048, allocations: 0 / 1.271 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133): time 0.01204/1.06, allocations: 3.613 MB / 1.275 GB, free: 13.31 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/1.06, allocations: 193.2 kB / 1.275 GB, free: 13.07 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/1.062, allocations: 0.81 MB / 1.276 GB, free: 12.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002111/1.062, allocations: 61.62 kB / 1.276 GB, free: 12.19 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004057/1.062, allocations: 0.5123 MB / 1.276 GB, free: 11.67 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003929/1.063, allocations: 437.6 kB / 1.277 GB, free: 11.23 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004645/1.063, allocations: 254.7 kB / 1.277 GB, free: 10.98 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001312/1.063, allocations: 353.9 kB / 1.277 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003263/1.067, allocations: 1.029 MB / 1.278 GB, free: 9.598 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003525/1.07, allocations: 1.182 MB / 1.28 GB, free: 8.383 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006512/1.077, allocations: 2.04 MB / 1.282 GB, free: 6.324 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/1.077, allocations: 4.062 kB / 1.282 GB, free: 6.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.00791/1.085, allocations: 2.428 MB / 1.284 GB, free: 3.879 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/1.085, allocations: 8 kB / 1.284 GB, free: 3.871 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/1.085, allocations: 0 / 1.284 GB, free: 3.871 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006058/1.085, allocations: 84.83 kB / 1.284 GB, free: 3.785 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002553/1.088, allocations: 423.3 kB / 1.285 GB, free: 3.371 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/1.09, allocations: 1.648 MB / 1.286 GB, free: 1.578 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/1.092, allocations: 282.8 kB / 1.286 GB, free: 1.301 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/1.093, allocations: 55.94 kB / 1.286 GB, free: 1.246 MB / 1.014 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.0007168/1.093, allocations: 355.2 kB / 1.287 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003078/1.094, allocations: 122.5 kB / 1.287 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008692/1.102, allocations: 2.88 MB / 1.29 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/1.102, allocations: 16 kB / 1.29 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/1.102, allocations: 0 / 1.29 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/1.102, allocations: 3.984 kB / 1.29 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00223/1.105, allocations: 1.819 MB / 1.291 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/1.105, allocations: 0 / 1.291 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002431/1.107, allocations: 415.4 kB / 1.292 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000466/1.108, allocations: 72.78 kB / 1.292 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001534/1.108, allocations: 55.88 kB / 1.292 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001915/1.11, allocations: 1.666 MB / 1.294 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.11, allocations: 144 / 1.294 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00817/1.118, allocations: 2.584 MB / 1.296 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009351/1.119, allocations: 467.1 kB / 1.297 GB, free: 6.551 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000233/1.119, allocations: 31.94 kB / 1.297 GB, free: 6.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00212/1.121, allocations: 235.7 kB / 1.297 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/1.121, allocations: 101.2 kB / 1.297 GB, free: 6.191 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/1.122, allocations: 63.92 kB / 1.297 GB, free: 6.129 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007798/1.122, allocations: 0.5849 MB / 1.298 GB, free: 5.547 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.122, allocations: 0 / 1.298 GB, free: 5.547 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001294/1.124, allocations: 498.8 kB / 1.298 GB, free: 5.059 MB / 1.029 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.009623/1.133, allocations: 3.667 MB / 1.302 GB, free: 1.543 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.008052/1.141, allocations: 2.504 MB / 1.304 GB, free: 15.02 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.141, allocations: 0 / 1.304 GB, free: 15.02 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.004544/1.146, allocations: 1.4 MB / 1.305 GB, free: 13.61 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/1.148, allocations: 334.6 kB / 1.306 GB, free: 13.31 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03166/1.179, allocations: 12.86 MB / 1.318 GB, free: 312 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007667/1.18, allocations: 1.192 MB / 1.32 GB, free: 15.08 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001759/1.182, allocations: 481.4 kB / 1.32 GB, free: 14.61 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/1.183, allocations: 0.5812 MB / 1.321 GB, free: 14.02 MB / 1.061 GB Notification: Performance of SimCode: time 7.82e-07/1.183, allocations: 0 / 1.321 GB, free: 14.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.813/3.996, allocations: 32.68 MB / 1.352 GB, free: 13.62 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.36/18.36, allocations: 3.984 kB / 1.352 GB, free: 13.61 MB / 1.092 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1)