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.001192/0.001192, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.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.098/2.098, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 67.89 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4908/0.4923, allocations: 140.4 MB / 0.9497 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.005244/0.4975, allocations: 5.251 MB / 0.9548 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1347/0.6322, allocations: 151.5 MB / 1.103 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008449/0.6331, allocations: 19.94 kB / 1.103 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006097/0.6337, allocations: 198.1 kB / 1.103 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.6356, allocations: 0.6112 MB / 1.104 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.6377, allocations: 0.9901 MB / 1.105 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00179/0.6395, allocations: 1.882 MB / 1.106 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.6406, allocations: 0.8948 MB / 1.107 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00085/0.6414, allocations: 0.7047 MB / 1.108 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009191/0.6423, allocations: 0.7742 MB / 1.109 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003068/0.6427, allocations: 192 kB / 1.109 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.6437, allocations: 0.6362 MB / 1.109 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003567/0.6441, allocations: 486.6 kB / 1.11 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006615/0.6448, allocations: 0.8279 MB / 1.111 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002031/0.6468, allocations: 2.368 MB / 1.113 GB, free: 9.938 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.6468, allocations: 0 / 1.113 GB, free: 9.938 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6468, allocations: 0 / 1.113 GB, free: 9.938 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.6468, allocations: 0 / 1.113 GB, free: 9.938 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.002971/0.6498, allocations: 1.887 MB / 1.115 GB, free: 7.992 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.6499, allocations: 12.03 kB / 1.115 GB, free: 7.98 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002111/0.6501, allocations: 198.7 kB / 1.115 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0086/0.6587, allocations: 1.29 MB / 1.116 GB, free: 6.484 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.66, allocations: 1.031 MB / 1.117 GB, free: 5.406 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.607e-05/0.6601, allocations: 102.7 kB / 1.117 GB, free: 5.305 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/0.6603, allocations: 136 kB / 1.118 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004775/0.6651, allocations: 2.209 MB / 1.12 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.6651, allocations: 0 / 1.12 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/0.6652, allocations: 56 kB / 1.12 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.187e-05/0.6653, allocations: 36 kB / 1.12 GB, free: 2.812 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007554/0.6729, allocations: 2.96 MB / 1.123 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008232/0.6811, allocations: 5.103 MB / 1.128 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00817/0.6893, allocations: 2.872 MB / 1.131 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003155/0.6925, allocations: 1.125 MB / 1.132 GB, free: 6.656 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005939/0.6931, allocations: 0.6066 MB / 1.132 GB, free: 5.922 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003677/0.6967, allocations: 1.45 MB / 1.134 GB, free: 4.453 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=133): time 2.305e-06/0.6968, allocations: 0 / 1.134 GB, free: 4.453 MB / 0.8887 GB Notification: Performance of matching and sorting (n=133): time 0.01077/0.7075, allocations: 3.617 MB / 1.137 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.242e-05/0.7076, allocations: 193.2 kB / 1.137 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009174/0.7086, allocations: 0.8177 MB / 1.138 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.7087, allocations: 53.7 kB / 1.138 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004319/0.7091, allocations: 0.5084 MB / 1.139 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/0.7095, allocations: 437.7 kB / 1.139 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004504/0.7099, allocations: 258.6 kB / 1.139 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.7101, allocations: 349.9 kB / 1.14 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003129/0.7132, allocations: 1.033 MB / 1.141 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003305/0.7165, allocations: 1.182 MB / 1.142 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006124/0.7226, allocations: 2.04 MB / 1.144 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.7227, allocations: 0 / 1.144 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007374/0.73, allocations: 2.425 MB / 1.146 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.7301, allocations: 8 kB / 1.146 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.7301, allocations: 0 / 1.146 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005644/0.7306, allocations: 84.78 kB / 1.146 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002359/0.733, allocations: 431.2 kB / 1.147 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.735, allocations: 1.644 MB / 1.148 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/0.737, allocations: 282.8 kB / 1.149 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.7372, allocations: 59.94 kB / 1.149 GB, free: 4.746 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.000568/0.7378, allocations: 355.2 kB / 1.149 GB, free: 4.391 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002583/0.738, allocations: 122.5 kB / 1.149 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008299/0.7463, allocations: 2.88 MB / 1.152 GB, free: 1.379 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.7463, allocations: 16 kB / 1.152 GB, free: 1.363 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.7464, allocations: 0 / 1.152 GB, free: 1.363 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.7464, allocations: 7.969 kB / 1.152 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.7483, allocations: 1.808 MB / 1.154 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-06/0.7483, allocations: 0 / 1.154 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00225/0.7506, allocations: 411.4 kB / 1.154 GB, free: 15.09 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004274/0.751, allocations: 72.78 kB / 1.154 GB, free: 15.02 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/0.7512, allocations: 51.94 kB / 1.154 GB, free: 14.97 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/0.7529, allocations: 1.689 MB / 1.156 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7529, allocations: 0 / 1.156 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007373/0.7603, allocations: 2.576 MB / 1.158 GB, free: 10.53 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000618/0.7609, allocations: 467.1 kB / 1.159 GB, free: 10.05 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/0.7612, allocations: 39.94 kB / 1.159 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001943/0.7631, allocations: 223.7 kB / 1.159 GB, free: 9.797 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.7633, allocations: 101.2 kB / 1.159 GB, free: 9.699 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/0.7635, allocations: 63.94 kB / 1.159 GB, free: 9.637 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006651/0.7641, allocations: 0.5888 MB / 1.16 GB, free: 9.051 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7641, allocations: 0 / 1.16 GB, free: 9.051 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00105/0.7652, allocations: 494.9 kB / 1.16 GB, free: 8.566 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.008955/0.7741, allocations: 3.666 MB / 1.164 GB, free: 5.047 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.008634/0.7828, allocations: 3.074 MB / 1.167 GB, free: 1.957 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7828, allocations: 0 / 1.167 GB, free: 1.957 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003718/0.7865, allocations: 1.407 MB / 1.168 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.7878, allocations: 337.5 kB / 1.169 GB, free: 240 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02844/0.8162, allocations: 13.34 MB / 1.182 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007196/0.817, allocations: 1.191 MB / 1.183 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001612/0.8186, allocations: 493.3 kB / 1.183 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009728/0.8196, allocations: 0.5812 MB / 1.184 GB, free: 300 kB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/0.8196, allocations: 0 / 1.184 GB, free: 300 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5553/1.375, allocations: 32.31 MB / 1.215 GB, free: 276 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/13.31, allocations: 10.25 kB / 1.215 GB, free: 268 kB / 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)