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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001254/0.001254, 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.001155/0.001155, allocations: 190.5 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.182/1.182, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.069/2.069, allocations: 390.2 MB / 0.6643 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 67.89 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4777/0.4789, allocations: 140.4 MB / 0.949 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.0048/0.4838, allocations: 5.257 MB / 0.9542 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1335/0.6172, allocations: 149.1 MB / 1.1 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007783/0.618, allocations: 19.88 kB / 1.1 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004881/0.6185, allocations: 154.8 kB / 1.1 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.6199, allocations: 0.53 MB / 1.1 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.6215, allocations: 0.8636 MB / 1.101 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001262/0.6228, allocations: 1.835 MB / 1.103 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008984/0.6237, allocations: 0.8729 MB / 1.104 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005176/0.6242, allocations: 0.5992 MB / 1.105 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005827/0.6248, allocations: 0.7272 MB / 1.105 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.625, allocations: 92 kB / 1.105 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007401/0.6257, allocations: 0.5464 MB / 1.106 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000281/0.626, allocations: 382.6 kB / 1.106 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005009/0.6265, allocations: 0.7264 MB / 1.107 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.6282, allocations: 2.282 MB / 1.109 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.6282, allocations: 4 kB / 1.109 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of FrontEnd: time 7.82e-07/0.6282, allocations: 0 / 1.109 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.6282, allocations: 3.938 kB / 1.109 GB, free: 13.48 MB / 0.8731 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.002879/0.6311, allocations: 1.887 MB / 1.111 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.6311, allocations: 12.03 kB / 1.111 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001986/0.6313, allocations: 198.7 kB / 1.111 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008467/0.6398, allocations: 1.282 MB / 1.112 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.6411, allocations: 1.043 MB / 1.114 GB, free: 8.945 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.264e-05/0.6411, allocations: 94.67 kB / 1.114 GB, free: 8.852 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.6413, allocations: 132 kB / 1.114 GB, free: 8.723 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00465/0.646, allocations: 2.205 MB / 1.116 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.646, allocations: 4 kB / 1.116 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/0.6462, allocations: 60 kB / 1.116 GB, free: 6.395 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.6462, allocations: 32 kB / 1.116 GB, free: 6.363 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007004/0.6532, allocations: 2.964 MB / 1.119 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007699/0.6609, allocations: 5.099 MB / 1.124 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007237/0.6682, allocations: 2.868 MB / 1.127 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002842/0.671, allocations: 1.126 MB / 1.128 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004641/0.6715, allocations: 0.6183 MB / 1.128 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003206/0.6747, allocations: 1.438 MB / 1.13 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=133): time 2.344e-06/0.6747, allocations: 0 / 1.13 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of matching and sorting (n=133): time 0.009888/0.6846, allocations: 3.617 MB / 1.133 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.6847, allocations: 201.2 kB / 1.133 GB, free: 4.117 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000866/0.6856, allocations: 0.8138 MB / 1.134 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.000116/0.6857, allocations: 49.7 kB / 1.134 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/0.6861, allocations: 0.5163 MB / 1.135 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003093/0.6864, allocations: 429.7 kB / 1.135 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004381/0.6868, allocations: 258.6 kB / 1.135 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.6869, allocations: 349.9 kB / 1.136 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002808/0.6897, allocations: 1.029 MB / 1.137 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002899/0.6927, allocations: 1.186 MB / 1.138 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005386/0.698, allocations: 2.036 MB / 1.14 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6981, allocations: 0 / 1.14 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.006532/0.7046, allocations: 2.428 MB / 1.142 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.7046, allocations: 4 kB / 1.142 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.7046, allocations: 3.984 kB / 1.142 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00056/0.7052, allocations: 84.84 kB / 1.142 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002211/0.7074, allocations: 427.3 kB / 1.143 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/0.7092, allocations: 1.539 MB / 1.144 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/0.7111, allocations: 280.1 kB / 1.145 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.7113, allocations: 63.92 kB / 1.145 GB, free: 8.41 MB / 0.9044 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.0005649/0.7118, allocations: 347.3 kB / 1.145 GB, free: 8.062 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.7121, allocations: 114.6 kB / 1.145 GB, free: 7.949 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007518/0.7196, allocations: 2.887 MB / 1.148 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.7196, allocations: 16 kB / 1.148 GB, free: 5.031 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.7196, allocations: 0 / 1.148 GB, free: 5.031 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.7196, allocations: 7.969 kB / 1.148 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.7214, allocations: 1.812 MB / 1.15 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.7215, allocations: 0 / 1.15 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002189/0.7237, allocations: 415.3 kB / 1.15 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004945/0.7242, allocations: 84.77 kB / 1.15 GB, free: 2.668 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.7243, allocations: 51.94 kB / 1.15 GB, free: 2.617 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.7259, allocations: 1.559 MB / 1.152 GB, free: 0.918 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7259, allocations: 3.984 kB / 1.152 GB, free: 0.9141 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006637/0.7325, allocations: 2.58 MB / 1.154 GB, free: 14.31 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005625/0.7331, allocations: 467.1 kB / 1.155 GB, free: 13.83 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/0.7333, allocations: 39.88 kB / 1.155 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001856/0.7352, allocations: 219.7 kB / 1.155 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.7354, allocations: 109.2 kB / 1.155 GB, free: 13.47 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/0.7355, allocations: 59.94 kB / 1.155 GB, free: 13.41 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006356/0.7361, allocations: 0.5888 MB / 1.156 GB, free: 12.83 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7362, allocations: 0 / 1.156 GB, free: 12.83 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001009/0.7372, allocations: 490.9 kB / 1.156 GB, free: 12.35 MB / 0.92 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.008119/0.7453, allocations: 3.671 MB / 1.16 GB, free: 8.824 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.006295/0.7516, allocations: 2.492 MB / 1.162 GB, free: 6.32 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7516, allocations: 0 / 1.162 GB, free: 6.32 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003354/0.755, allocations: 1.4 MB / 1.164 GB, free: 4.906 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.7562, allocations: 309.5 kB / 1.164 GB, free: 4.617 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02714/0.7833, allocations: 13.92 MB / 1.177 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006275/0.784, allocations: 1.191 MB / 1.179 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001594/0.7856, allocations: 493.4 kB / 1.179 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009449/0.7865, allocations: 0.5773 MB / 1.18 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of SimCode: time 2.214e-06/0.7865, allocations: 0 / 1.18 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.451/10.24, allocations: 31.2 MB / 1.21 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002954/10.24, allocations: 272.8 kB / 1.21 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.686/13.92, allocations: 0 / 1.21 GB, free: 4.852 MB / 0.9669 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)