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.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.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.001604/0.001604, 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.001661/0.001661, 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.321/1.321, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.315/2.315, allocations: 437 MB / 0.7101 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 59.91 kB / 0.8689 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4849/0.4862, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.0064/0.4927, allocations: 5.843 MB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1336/0.6263, allocations: 149.1 MB / 1.168 GB, free: 7.188 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008432/0.6271, allocations: 23.88 kB / 1.168 GB, free: 7.164 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006924/0.6279, allocations: 170.7 kB / 1.168 GB, free: 6.996 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001819/0.6297, allocations: 0.575 MB / 1.169 GB, free: 6.422 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.6316, allocations: 0.8813 MB / 1.17 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001829/0.6334, allocations: 1.894 MB / 1.172 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009766/0.6344, allocations: 0.7799 MB / 1.172 GB, free: 2.832 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007882/0.6352, allocations: 0.6736 MB / 1.173 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006593/0.6359, allocations: 0.7484 MB / 1.174 GB, free: 1.406 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001777/0.6361, allocations: 168 kB / 1.174 GB, free: 1.242 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008259/0.6369, allocations: 0.6089 MB / 1.175 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003027/0.6372, allocations: 446.7 kB / 1.175 GB, free: 200 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005662/0.6378, allocations: 0.7737 MB / 1.176 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001702/0.6395, allocations: 2.169 MB / 1.178 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.6395, allocations: 4 kB / 1.178 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6395, allocations: 3.938 kB / 1.178 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.6395, allocations: 0 / 1.178 GB, free: 13.23 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.002819/0.6423, allocations: 1.807 MB / 1.18 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.6424, allocations: 8.031 kB / 1.18 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001935/0.6426, allocations: 190 kB / 1.18 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008369/0.651, allocations: 1.275 MB / 1.181 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.6522, allocations: 0.9533 MB / 1.182 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.377e-05/0.6522, allocations: 90.45 kB / 1.182 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.6524, allocations: 128 kB / 1.182 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004438/0.6569, allocations: 2.034 MB / 1.184 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.6569, allocations: 3.938 kB / 1.184 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.6571, allocations: 52 kB / 1.184 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.6571, allocations: 32 kB / 1.184 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006766/0.6639, allocations: 2.76 MB / 1.187 GB, free: 3.719 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.007482/0.6714, allocations: 4.74 MB / 1.192 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007099/0.6785, allocations: 2.731 MB / 1.194 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00275/0.6812, allocations: 1.047 MB / 1.195 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004904/0.6817, allocations: 0.6102 MB / 1.196 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003232/0.685, allocations: 1.352 MB / 1.197 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=132): time 3.927e-06/0.685, allocations: 0 / 1.197 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of matching and sorting (n=132): time 0.00986/0.6949, allocations: 3.387 MB / 1.201 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.772e-05/0.695, allocations: 193.2 kB / 1.201 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008319/0.6958, allocations: 0.7745 MB / 1.201 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.6959, allocations: 57.64 kB / 1.202 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.6962, allocations: 484.8 kB / 1.202 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003313/0.6966, allocations: 425.8 kB / 1.202 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004434/0.697, allocations: 258.7 kB / 1.203 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6972, allocations: 353.9 kB / 1.203 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002754/0.6999, allocations: 0.9392 MB / 1.204 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002877/0.7028, allocations: 1.097 MB / 1.205 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005404/0.7082, allocations: 1.903 MB / 1.207 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7082, allocations: 0 / 1.207 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.006471/0.7147, allocations: 2.276 MB / 1.209 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.7147, allocations: 4 kB / 1.209 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.7147, allocations: 4.062 kB / 1.209 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005654/0.7153, allocations: 84.77 kB / 1.209 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002157/0.7175, allocations: 419.3 kB / 1.21 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.7194, allocations: 1.658 MB / 1.211 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001917/0.7213, allocations: 284.7 kB / 1.211 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/0.7215, allocations: 55.94 kB / 1.211 GB, free: 10 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.0004928/0.722, allocations: 327.3 kB / 1.212 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/0.7222, allocations: 118.6 kB / 1.212 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007503/0.7297, allocations: 2.727 MB / 1.215 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.7298, allocations: 20 kB / 1.215 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.7298, allocations: 0 / 1.215 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.7298, allocations: 7.969 kB / 1.215 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008876/0.7387, allocations: 4.317 MB / 1.219 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.7387, allocations: 3.938 kB / 1.219 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002157/0.7408, allocations: 411.4 kB / 1.219 GB, free: 2 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004138/0.7413, allocations: 72.8 kB / 1.219 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/0.7414, allocations: 55.92 kB / 1.219 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/0.7431, allocations: 1.674 MB / 1.221 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7431, allocations: 0 / 1.221 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006644/0.7498, allocations: 2.491 MB / 1.223 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005505/0.7504, allocations: 431.2 kB / 1.224 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002121/0.7506, allocations: 24 kB / 1.224 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001923/0.7525, allocations: 235.6 kB / 1.224 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.7527, allocations: 109.1 kB / 1.224 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/0.7528, allocations: 63.92 kB / 1.224 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006125/0.7534, allocations: 0.5537 MB / 1.225 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7535, allocations: 0 / 1.225 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001037/0.7545, allocations: 499 kB / 1.225 GB, free: 11.63 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.008196/0.7627, allocations: 3.58 MB / 1.229 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007848/0.7706, allocations: 2.891 MB / 1.232 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7706, allocations: 4.125 kB / 1.232 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003301/0.7739, allocations: 1.317 MB / 1.233 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.7752, allocations: 331.3 kB / 1.233 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02665/0.8018, allocations: 12.94 MB / 1.246 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006677/0.8025, allocations: 1.156 MB / 1.247 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001649/0.8042, allocations: 481.2 kB / 1.247 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009228/0.8051, allocations: 0.5461 MB / 1.248 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.8051, allocations: 0 / 1.248 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.049/3.854, allocations: 31.11 MB / 1.278 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/3.854, allocations: 293.4 kB / 1.279 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.236/7.09, allocations: 0.7656 kB / 1.279 GB, free: 224.4 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)