Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.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.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_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.00122/0.00122, 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.001205/0.001205, allocations: 191.1 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.199/1.199, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.504/2.504, allocations: 437 MB / 0.7099 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.89 kB / 0.8687 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5196/0.5209, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006754/0.5277, allocations: 5.843 MB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1451/0.6728, allocations: 149 MB / 1.168 GB, free: 7.367 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009358/0.6738, allocations: 19.88 kB / 1.168 GB, free: 7.348 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007546/0.6746, allocations: 178.6 kB / 1.168 GB, free: 7.172 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001889/0.6765, allocations: 0.5557 MB / 1.169 GB, free: 6.617 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.6785, allocations: 0.8592 MB / 1.17 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002019/0.6806, allocations: 1.866 MB / 1.171 GB, free: 3.891 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.6818, allocations: 0.7516 MB / 1.172 GB, free: 3.098 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000942/0.6827, allocations: 0.5838 MB / 1.173 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.6837, allocations: 0.7001 MB / 1.173 GB, free: 1.809 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002057/0.684, allocations: 84 kB / 1.173 GB, free: 1.727 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.6851, allocations: 0.5347 MB / 1.174 GB, free: 1.191 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000346/0.6854, allocations: 354.7 kB / 1.174 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006605/0.6861, allocations: 0.6994 MB / 1.175 GB, free: 144 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.6881, allocations: 2.099 MB / 1.177 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.6881, allocations: 3.938 kB / 1.177 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.002e-06/0.6881, allocations: 4 kB / 1.177 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.008e-05/0.6881, allocations: 4 kB / 1.177 GB, free: 14.02 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003406/0.6915, allocations: 1.799 MB / 1.179 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.6916, allocations: 15.97 kB / 1.179 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002113/0.6918, allocations: 186 kB / 1.179 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009553/0.7014, allocations: 1.279 MB / 1.18 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/0.7032, allocations: 0.9572 MB / 1.181 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.254e-05/0.7033, allocations: 94.45 kB / 1.181 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002074/0.7035, allocations: 124 kB / 1.181 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005064/0.7086, allocations: 2.034 MB / 1.183 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.7086, allocations: 0 / 1.183 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001682/0.7088, allocations: 52 kB / 1.183 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.765e-05/0.7088, allocations: 32 kB / 1.183 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007579/0.7164, allocations: 2.764 MB / 1.186 GB, free: 4.504 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.008591/0.725, allocations: 4.728 MB / 1.191 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007681/0.7327, allocations: 2.743 MB / 1.193 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002997/0.7357, allocations: 1.04 MB / 1.194 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005382/0.7363, allocations: 0.6062 MB / 1.195 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003497/0.7398, allocations: 1.356 MB / 1.196 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=132): time 3.286e-06/0.7398, allocations: 4 kB / 1.196 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of matching and sorting (n=132): time 0.01088/0.7507, allocations: 3.379 MB / 1.2 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.7508, allocations: 193.2 kB / 1.2 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.7519, allocations: 0.7823 MB / 1.201 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.752, allocations: 53.64 kB / 1.201 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003754/0.7524, allocations: 488.9 kB / 1.201 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003602/0.7528, allocations: 425.8 kB / 1.202 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004736/0.7533, allocations: 250.8 kB / 1.202 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.7534, allocations: 353.9 kB / 1.202 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002914/0.7563, allocations: 0.947 MB / 1.203 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003037/0.7594, allocations: 1.093 MB / 1.204 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005688/0.7651, allocations: 1.899 MB / 1.206 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.7651, allocations: 4.062 kB / 1.206 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.007052/0.7721, allocations: 2.28 MB / 1.208 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.7722, allocations: 4 kB / 1.208 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.7722, allocations: 0 / 1.208 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006174/0.7728, allocations: 84.84 kB / 1.208 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/0.7752, allocations: 423.3 kB / 1.209 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/0.7772, allocations: 1.546 MB / 1.21 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002166/0.7793, allocations: 288.7 kB / 1.21 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.7795, allocations: 55.94 kB / 1.21 GB, free: 10.91 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 (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,incAng.decAng.tNext,$PRE.incAng.decAng.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 (142): * Single equations (assignments): 141 * 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.0006443/0.7802, allocations: 331.2 kB / 1.211 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002838/0.7804, allocations: 114.7 kB / 1.211 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007872/0.7883, allocations: 2.727 MB / 1.214 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.7884, allocations: 19.88 kB / 1.214 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.7884, allocations: 8 kB / 1.214 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.7884, allocations: 7.969 kB / 1.214 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009654/0.798, allocations: 4.309 MB / 1.218 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.7981, allocations: 0 / 1.218 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00233/0.8004, allocations: 415.4 kB / 1.218 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000526/0.8009, allocations: 80.78 kB / 1.218 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/0.8011, allocations: 51.94 kB / 1.218 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/0.8029, allocations: 1.559 MB / 1.22 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.8029, allocations: 0 / 1.22 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007252/0.8101, allocations: 2.491 MB / 1.222 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006427/0.8108, allocations: 423.2 kB / 1.223 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/0.811, allocations: 31.98 kB / 1.223 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002088/0.8131, allocations: 231.6 kB / 1.223 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/0.8133, allocations: 101.2 kB / 1.223 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/0.8135, allocations: 75.88 kB / 1.223 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007182/0.8142, allocations: 0.5537 MB / 1.224 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8142, allocations: 4 kB / 1.224 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001242/0.8155, allocations: 491 kB / 1.224 GB, free: 12.66 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 140 * 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.008877/0.8244, allocations: 3.59 MB / 1.228 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006904/0.8313, allocations: 2.309 MB / 1.23 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.8313, allocations: 4 kB / 1.23 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00359/0.8349, allocations: 1.314 MB / 1.231 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.8365, allocations: 316.7 kB / 1.231 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02881/0.8653, allocations: 12.93 MB / 1.244 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000697/0.8661, allocations: 1.156 MB / 1.245 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001847/0.8679, allocations: 485.1 kB / 1.246 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/0.8689, allocations: 0.5421 MB / 1.246 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of SimCode: time 5.52e-07/0.869, allocations: 0 / 1.246 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.142/2.011, allocations: 30.21 MB / 1.276 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/2.012, allocations: 303.4 kB / 1.276 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.708/4.719, allocations: 0 / 1.276 GB, free: 223.8 MB / 0.9981 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1)