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.0009311/0.0009311, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005717/0.005717, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.298/1.298, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.308/2.308, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003207, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6073/0.6077, allocations: 142.4 MB / 0.9552 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.005063/0.6128, allocations: 4.82 MB / 0.9599 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1557/0.7685, allocations: 147.1 MB / 1.104 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006198/0.7692, allocations: 19.94 kB / 1.104 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004826/0.7696, allocations: 150.8 kB / 1.104 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.7711, allocations: 0.521 MB / 1.104 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.7729, allocations: 0.8656 MB / 1.105 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001458/0.7744, allocations: 1.835 MB / 1.107 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.7754, allocations: 0.8611 MB / 1.108 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005159/0.7759, allocations: 0.4898 MB / 1.108 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006/0.7766, allocations: 0.5868 MB / 1.109 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.7767, allocations: 40 kB / 1.109 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007342/0.7774, allocations: 499.5 kB / 1.109 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002619/0.7777, allocations: 306.6 kB / 1.11 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004866/0.7782, allocations: 0.6462 MB / 1.11 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00176/0.7799, allocations: 2.207 MB / 1.112 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.78, allocations: 0 / 1.112 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.563e-06/0.78, allocations: 0 / 1.112 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.78, allocations: 0 / 1.112 GB, free: 13.73 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.002755/0.7827, allocations: 1.575 MB / 1.114 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.7828, allocations: 12.03 kB / 1.114 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002192/0.783, allocations: 194.7 kB / 1.114 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009771/0.7928, allocations: 1.583 MB / 1.116 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.7942, allocations: 1.035 MB / 1.117 GB, free: 9.219 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.328e-05/0.7943, allocations: 94.67 kB / 1.117 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/0.7945, allocations: 136 kB / 1.117 GB, free: 8.992 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005313/0.7998, allocations: 2.338 MB / 1.119 GB, free: 6.594 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.7999, allocations: 0 / 1.119 GB, free: 6.594 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.8001, allocations: 60 kB / 1.119 GB, free: 6.535 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/0.8001, allocations: 32 kB / 1.119 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008151/0.8082, allocations: 3.21 MB / 1.122 GB, free: 3.285 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008463/0.8167, allocations: 5.18 MB / 1.127 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008614/0.8253, allocations: 3.157 MB / 1.131 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003395/0.8288, allocations: 1.242 MB / 1.132 GB, free: 9.617 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005119/0.8293, allocations: 0.6066 MB / 1.132 GB, free: 8.883 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003881/0.8332, allocations: 1.566 MB / 1.134 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=133): time 2.855e-06/0.8332, allocations: 4 kB / 1.134 GB, free: 7.297 MB / 0.8887 GB Notification: Performance of matching and sorting (n=133): time 0.01195/0.8451, allocations: 3.965 MB / 1.138 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.353e-05/0.8452, allocations: 197.2 kB / 1.138 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009703/0.8462, allocations: 0.8099 MB / 1.139 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001349/0.8464, allocations: 57.64 kB / 1.139 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/0.8467, allocations: 0.5163 MB / 1.139 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000372/0.8471, allocations: 437.7 kB / 1.14 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.8473, allocations: 89.67 kB / 1.14 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.8474, allocations: 353.9 kB / 1.14 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003365/0.8508, allocations: 1.142 MB / 1.141 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003518/0.8543, allocations: 1.292 MB / 1.142 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006698/0.861, allocations: 2.27 MB / 1.145 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.8611, allocations: 0 / 1.145 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007896/0.869, allocations: 2.663 MB / 1.147 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.869, allocations: 4 kB / 1.147 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.869, allocations: 4 kB / 1.147 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006057/0.8696, allocations: 84.83 kB / 1.147 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002558/0.8722, allocations: 487.3 kB / 1.148 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.8741, allocations: 1.536 MB / 1.149 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/0.8764, allocations: 347.6 kB / 1.15 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.8766, allocations: 59.94 kB / 1.15 GB, free: 6.703 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.0006021/0.8772, allocations: 363.4 kB / 1.15 GB, free: 6.34 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/0.8774, allocations: 118.6 kB / 1.15 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008948/0.8864, allocations: 3.102 MB / 1.153 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.8864, allocations: 16 kB / 1.153 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.8864, allocations: 0 / 1.153 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/0.8864, allocations: 11.95 kB / 1.153 GB, free: 3.078 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/0.8884, allocations: 1.812 MB / 1.155 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.8885, allocations: 4 kB / 1.155 GB, free: 1.211 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002508/0.891, allocations: 471.4 kB / 1.155 GB, free: 0.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005485/0.8915, allocations: 84.77 kB / 1.156 GB, free: 0.6641 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/0.8917, allocations: 51.94 kB / 1.156 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.8935, allocations: 1.555 MB / 1.157 GB, free: 14.92 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8935, allocations: 0 / 1.157 GB, free: 14.92 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008082/0.9016, allocations: 2.818 MB / 1.16 GB, free: 12.08 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000668/0.9022, allocations: 482.9 kB / 1.16 GB, free: 11.59 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/0.9025, allocations: 31.94 kB / 1.16 GB, free: 11.55 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002184/0.9047, allocations: 309.6 kB / 1.161 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.9049, allocations: 101.2 kB / 1.161 GB, free: 11.16 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/0.905, allocations: 63.94 kB / 1.161 GB, free: 11.09 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007259/0.9057, allocations: 0.5888 MB / 1.161 GB, free: 10.51 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9057, allocations: 0 / 1.161 GB, free: 10.51 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001149/0.9069, allocations: 490.9 kB / 1.162 GB, free: 10.03 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.009517/0.9164, allocations: 3.901 MB / 1.166 GB, free: 6.273 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.007508/0.9239, allocations: 2.723 MB / 1.168 GB, free: 3.539 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.924, allocations: 7.922 kB / 1.168 GB, free: 3.531 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003892/0.9279, allocations: 1.513 MB / 1.17 GB, free: 2.004 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.9293, allocations: 307.2 kB / 1.17 GB, free: 1.711 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03264/0.9619, allocations: 14.65 MB / 1.184 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007497/0.9627, allocations: 1.195 MB / 1.186 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001753/0.9644, allocations: 481.4 kB / 1.186 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/0.9655, allocations: 0.5811 MB / 1.187 GB, free: 488 kB / 0.9356 GB Notification: Performance of SimCode: time 5.41e-07/0.9655, allocations: 0 / 1.187 GB, free: 488 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.451/3.416, allocations: 30.78 MB / 1.217 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003608/3.417, allocations: 282.5 kB / 1.217 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.361/11.78, allocations: 0 / 1.217 GB, free: 1.66 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)