Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_10_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.0008437/0.0008437, allocations: 97.56 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.005117/0.005117, allocations: 168.4 kB / 16.26 MB, free: 6.648 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.271/1.271, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.513/2.513, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003064, allocations: 8 kB / 0.8729 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5345/0.5349, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.005921/0.5408, allocations: 5.796 MB / 1.029 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1392/0.6801, allocations: 147.3 MB / 1.173 GB, free: 6.164 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007432/0.6808, allocations: 23.88 kB / 1.173 GB, free: 6.141 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005161/0.6814, allocations: 174.6 kB / 1.173 GB, free: 5.969 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.6829, allocations: 0.6034 MB / 1.173 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.6847, allocations: 0.8692 MB / 1.174 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001682/0.6864, allocations: 1.986 MB / 1.176 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.6874, allocations: 0.8111 MB / 1.177 GB, free: 1.66 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006025/0.688, allocations: 0.5171 MB / 1.177 GB, free: 1.141 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006356/0.6887, allocations: 0.6064 MB / 1.178 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.9e-05/0.6888, allocations: 44 kB / 1.178 GB, free: 500 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008748/0.6897, allocations: 0.4996 MB / 1.179 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.6899, allocations: 298.6 kB / 1.179 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005343/0.6905, allocations: 0.6852 MB / 1.18 GB, free: 15 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.6923, allocations: 2.254 MB / 1.182 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.6923, allocations: 0 / 1.182 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6923, allocations: 0 / 1.182 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.6923, allocations: 0 / 1.182 GB, free: 12.74 MB / 0.9356 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.002807/0.6951, allocations: 1.606 MB / 1.183 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.6952, allocations: 8.031 kB / 1.183 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002271/0.6954, allocations: 206.7 kB / 1.183 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009781/0.7052, allocations: 1.575 MB / 1.185 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/0.7069, allocations: 1.028 MB / 1.186 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.224e-05/0.707, allocations: 106.7 kB / 1.186 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002283/0.7072, allocations: 128 kB / 1.186 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005513/0.7128, allocations: 2.33 MB / 1.189 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.7128, allocations: 3.938 kB / 1.189 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/0.713, allocations: 52 kB / 1.189 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.713, allocations: 32 kB / 1.189 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008368/0.7214, allocations: 3.222 MB / 1.192 GB, free: 2.266 MB / 0.9356 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.009243/0.7306, allocations: 5.49 MB / 1.197 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008684/0.7393, allocations: 3.158 MB / 1.2 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003416/0.7428, allocations: 1.248 MB / 1.201 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005247/0.7433, allocations: 0.6103 MB / 1.202 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003857/0.7472, allocations: 1.559 MB / 1.204 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=133): time 2.896e-06/0.7472, allocations: 0 / 1.204 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of matching and sorting (n=133): time 0.01196/0.7592, allocations: 3.98 MB / 1.207 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.986e-05/0.7593, allocations: 197.2 kB / 1.208 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.7603, allocations: 0.8061 MB / 1.208 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001458/0.7605, allocations: 53.7 kB / 1.208 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003783/0.7609, allocations: 0.5201 MB / 1.209 GB, free: 248 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003844/0.7613, allocations: 433.9 kB / 1.209 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.7615, allocations: 97.61 kB / 1.209 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.7616, allocations: 353.9 kB / 1.21 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003323/0.7649, allocations: 1.142 MB / 1.211 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003437/0.7684, allocations: 1.296 MB / 1.212 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006543/0.7749, allocations: 2.274 MB / 1.214 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.7749, allocations: 0 / 1.214 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007719/0.7826, allocations: 2.659 MB / 1.217 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.7827, allocations: 4 kB / 1.217 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.7827, allocations: 4 kB / 1.217 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005836/0.7833, allocations: 88.83 kB / 1.217 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002491/0.7858, allocations: 479.3 kB / 1.218 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/0.7878, allocations: 1.552 MB / 1.219 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/0.7902, allocations: 353.5 kB / 1.219 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/0.7903, allocations: 63.94 kB / 1.219 GB, free: 5.258 MB / 0.9669 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.0007158/0.791, allocations: 351.3 kB / 1.22 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002781/0.7913, allocations: 114.6 kB / 1.22 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009019/0.8004, allocations: 3.118 MB / 1.223 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.8004, allocations: 19.94 kB / 1.223 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.8004, allocations: 0 / 1.223 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.8004, allocations: 7.969 kB / 1.223 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.8027, allocations: 1.831 MB / 1.225 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.8027, allocations: 0 / 1.225 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00251/0.8052, allocations: 475.4 kB / 1.225 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005655/0.8058, allocations: 84.77 kB / 1.225 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/0.8059, allocations: 51.94 kB / 1.225 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/0.8077, allocations: 1.571 MB / 1.227 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.8077, allocations: 0 / 1.227 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008076/0.8158, allocations: 2.799 MB / 1.23 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008002/0.8167, allocations: 490.9 kB / 1.23 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/0.8169, allocations: 35.92 kB / 1.23 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002242/0.8192, allocations: 311.6 kB / 1.23 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/0.8194, allocations: 97.17 kB / 1.231 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/0.8196, allocations: 71.92 kB / 1.231 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008407/0.8204, allocations: 0.5849 MB / 1.231 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2e-07/0.8204, allocations: 0 / 1.231 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001365/0.8218, allocations: 0.5028 MB / 1.232 GB, free: 8.531 MB / 0.9825 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.00991/0.8317, allocations: 3.904 MB / 1.235 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007693/0.8394, allocations: 2.719 MB / 1.238 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.8395, allocations: 0 / 1.238 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003971/0.8434, allocations: 1.513 MB / 1.24 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/0.8452, allocations: 320.4 kB / 1.24 GB, free: 220 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03319/0.8784, allocations: 14.45 MB / 1.254 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008144/0.8793, allocations: 1.191 MB / 1.255 GB, free: 236 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.4172/1.297, allocations: 487 kB / 1.256 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/1.298, allocations: 0.5771 MB / 1.256 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/1.298, allocations: 0 / 1.256 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.341/3.638, allocations: 31.33 MB / 1.287 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/3.639, allocations: 275.9 kB / 1.287 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.931/6.57, allocations: 0 / 1.287 GB, free: 216.4 MB / 0.9981 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1)