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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001187/0.001187, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001109/0.001109, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.208/1.208, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.241/2.241, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001233, allocations: 63.91 kB / 0.8689 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4767/0.4779, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.006387/0.4843, allocations: 6.259 MB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1234/0.6078, allocations: 149.3 MB / 1.169 GB, free: 6.531 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007886/0.6086, allocations: 15.94 kB / 1.169 GB, free: 6.516 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006192/0.6092, allocations: 178.6 kB / 1.169 GB, free: 6.34 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.6109, allocations: 0.6218 MB / 1.17 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001739/0.6127, allocations: 0.8932 MB / 1.171 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001749/0.6144, allocations: 2.045 MB / 1.172 GB, free: 2.781 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009776/0.6154, allocations: 0.8641 MB / 1.173 GB, free: 1.879 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007991/0.6162, allocations: 0.7359 MB / 1.174 GB, free: 1.141 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008096/0.6171, allocations: 0.8146 MB / 1.175 GB, free: 332 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002383/0.6173, allocations: 192 kB / 1.175 GB, free: 140 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008684/0.6182, allocations: 0.6362 MB / 1.176 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003333/0.6185, allocations: 486.6 kB / 1.176 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006929/0.6192, allocations: 0.8515 MB / 1.177 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.6211, allocations: 2.423 MB / 1.179 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/0.6211, allocations: 4 kB / 1.179 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6211, allocations: 0 / 1.179 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.826e-05/0.6212, allocations: 0 / 1.179 GB, free: 11.73 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.00312/0.6243, allocations: 1.906 MB / 1.181 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.6244, allocations: 12.03 kB / 1.181 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002007/0.6246, allocations: 202.7 kB / 1.181 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008344/0.6329, allocations: 1.286 MB / 1.183 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.6342, allocations: 1.035 MB / 1.184 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.623e-05/0.6343, allocations: 106.6 kB / 1.184 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.6345, allocations: 127.9 kB / 1.184 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004594/0.6391, allocations: 2.205 MB / 1.186 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.6391, allocations: 4 kB / 1.186 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/0.6393, allocations: 59.94 kB / 1.186 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.6393, allocations: 32 kB / 1.186 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006745/0.6461, allocations: 2.964 MB / 1.189 GB, free: 1.617 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.007883/0.654, allocations: 5.4 MB / 1.194 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007015/0.661, allocations: 2.881 MB / 1.197 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002713/0.6637, allocations: 1.125 MB / 1.198 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004614/0.6642, allocations: 0.6066 MB / 1.199 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003223/0.6674, allocations: 1.461 MB / 1.2 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=133): time 2.505e-06/0.6674, allocations: 0 / 1.2 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of matching and sorting (n=133): time 0.0098/0.6772, allocations: 3.629 MB / 1.204 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.724e-05/0.6773, allocations: 201.2 kB / 1.204 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008263/0.6782, allocations: 0.8061 MB / 1.205 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.6783, allocations: 53.7 kB / 1.205 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.6786, allocations: 0.5239 MB / 1.205 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003133/0.6789, allocations: 429.7 kB / 1.206 GB, free: 108 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004383/0.6794, allocations: 250.7 kB / 1.206 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.6795, allocations: 357.9 kB / 1.206 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00274/0.6822, allocations: 1.025 MB / 1.207 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002827/0.6851, allocations: 1.186 MB / 1.208 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005303/0.6904, allocations: 2.044 MB / 1.21 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.6904, allocations: 4 kB / 1.21 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0064/0.6968, allocations: 2.428 MB / 1.213 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.6968, allocations: 4 kB / 1.213 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6968, allocations: 4 kB / 1.213 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005379/0.6974, allocations: 80.84 kB / 1.213 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00215/0.6995, allocations: 427.3 kB / 1.213 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/0.7013, allocations: 1.664 MB / 1.215 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/0.7032, allocations: 282.6 kB / 1.215 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.7034, allocations: 71.81 kB / 1.215 GB, free: 6.09 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.0005106/0.7039, allocations: 347.9 kB / 1.216 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002358/0.7041, allocations: 118.5 kB / 1.216 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007261/0.7114, allocations: 2.884 MB / 1.219 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.7114, allocations: 16 kB / 1.219 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.7114, allocations: 4 kB / 1.219 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.7114, allocations: 7.969 kB / 1.219 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.7132, allocations: 1.827 MB / 1.22 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.7132, allocations: 0 / 1.22 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00214/0.7154, allocations: 411.4 kB / 1.221 GB, free: 428 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004047/0.7158, allocations: 80.72 kB / 1.221 GB, free: 344 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/0.7159, allocations: 47.94 kB / 1.221 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/0.7175, allocations: 1.674 MB / 1.223 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7175, allocations: 0 / 1.223 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006504/0.7241, allocations: 2.576 MB / 1.225 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005663/0.7246, allocations: 467.1 kB / 1.225 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/0.7249, allocations: 36 kB / 1.226 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001872/0.7267, allocations: 239.6 kB / 1.226 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/0.7269, allocations: 97.17 kB / 1.226 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/0.7271, allocations: 67.92 kB / 1.226 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006077/0.7277, allocations: 0.5849 MB / 1.226 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7277, allocations: 0 / 1.226 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009719/0.7287, allocations: 0.5028 MB / 1.227 GB, free: 9.875 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.007922/0.7366, allocations: 3.675 MB / 1.231 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007887/0.7445, allocations: 3.066 MB / 1.234 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.7445, allocations: 0 / 1.234 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003236/0.7477, allocations: 1.404 MB / 1.235 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.7489, allocations: 348.1 kB / 1.235 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02666/0.7756, allocations: 13.75 MB / 1.249 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006132/0.7762, allocations: 1.195 MB / 1.25 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001618/0.7779, allocations: 0.4935 MB / 1.25 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009204/0.7788, allocations: 0.5773 MB / 1.251 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.7788, allocations: 0 / 1.251 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.345/9.124, allocations: 32.63 MB / 1.283 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001435/9.124, allocations: 282.6 kB / 1.283 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.711/11.83, allocations: 0 / 1.283 GB, free: 219.8 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)