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.001161/0.001161, 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.001136/0.001136, allocations: 196.8 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.193/1.193, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.517/2.517, allocations: 437 MB / 0.7099 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 63.89 kB / 0.8686 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.585/0.5864, allocations: 151.6 MB / 1.017 GB, free: 2.941 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007392/0.5939, allocations: 6.259 MB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.147/0.7409, allocations: 149.2 MB / 1.169 GB, free: 6.863 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.7419, allocations: 15.94 kB / 1.169 GB, free: 6.848 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008812/0.7429, allocations: 186.5 kB / 1.169 GB, free: 6.664 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002186/0.7451, allocations: 0.6002 MB / 1.169 GB, free: 6.066 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002438/0.7475, allocations: 0.8687 MB / 1.17 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002228/0.7498, allocations: 2.002 MB / 1.172 GB, free: 3.195 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.7511, allocations: 0.8344 MB / 1.173 GB, free: 2.32 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008233/0.7519, allocations: 0.6226 MB / 1.174 GB, free: 1.695 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007311/0.7527, allocations: 0.7507 MB / 1.174 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.7528, allocations: 92 kB / 1.174 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.7539, allocations: 0.5386 MB / 1.175 GB, free: 320 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003316/0.7542, allocations: 378.6 kB / 1.175 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006562/0.7549, allocations: 0.7615 MB / 1.176 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.7572, allocations: 2.344 MB / 1.178 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.7573, allocations: 0 / 1.178 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.22e-07/0.7573, allocations: 0 / 1.178 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.469e-05/0.7573, allocations: 0 / 1.178 GB, free: 12.82 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.003465/0.7608, allocations: 1.914 MB / 1.18 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.7608, allocations: 12.03 kB / 1.18 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003072/0.7611, allocations: 198.7 kB / 1.18 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/0.7713, allocations: 1.282 MB / 1.182 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.7732, allocations: 1.039 MB / 1.183 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.851e-05/0.7733, allocations: 98.67 kB / 1.183 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002167/0.7735, allocations: 128 kB / 1.183 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005716/0.7792, allocations: 2.209 MB / 1.185 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.7793, allocations: 4 kB / 1.185 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/0.7794, allocations: 59.98 kB / 1.185 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.7795, allocations: 32 kB / 1.185 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00833/0.7878, allocations: 2.96 MB / 1.188 GB, free: 2.711 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.00995/0.7978, allocations: 5.404 MB / 1.193 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00855/0.8064, allocations: 2.891 MB / 1.196 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003283/0.8097, allocations: 1.121 MB / 1.197 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007005/0.8104, allocations: 0.6105 MB / 1.198 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003852/0.8143, allocations: 1.45 MB / 1.199 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=133): time 4.268e-06/0.8143, allocations: 0 / 1.199 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of matching and sorting (n=133): time 0.01242/0.8267, allocations: 3.629 MB / 1.203 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.8269, allocations: 201.2 kB / 1.203 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.8281, allocations: 0.8061 MB / 1.204 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001753/0.8283, allocations: 53.7 kB / 1.204 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004594/0.8288, allocations: 0.5162 MB / 1.204 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004499/0.8292, allocations: 433.7 kB / 1.205 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007087/0.83, allocations: 250.7 kB / 1.205 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.8301, allocations: 357.9 kB / 1.205 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003145/0.8333, allocations: 1.029 MB / 1.206 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003571/0.8369, allocations: 1.186 MB / 1.207 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006122/0.843, allocations: 2.044 MB / 1.209 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.843, allocations: 7.938 kB / 1.209 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007999/0.851, allocations: 2.432 MB / 1.212 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.8511, allocations: 4 kB / 1.212 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.8511, allocations: 4 kB / 1.212 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006225/0.8517, allocations: 88.81 kB / 1.212 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00259/0.8543, allocations: 415.3 kB / 1.212 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.8564, allocations: 1.543 MB / 1.214 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/0.8588, allocations: 292.5 kB / 1.214 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002756/0.8591, allocations: 59.94 kB / 1.214 GB, free: 7.301 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.000924/0.8601, allocations: 352 kB / 1.214 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004151/0.8605, allocations: 110.6 kB / 1.215 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009129/0.8696, allocations: 2.891 MB / 1.217 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.8697, allocations: 12 kB / 1.217 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8697, allocations: 0 / 1.217 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.8697, allocations: 11.95 kB / 1.217 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/0.8722, allocations: 1.831 MB / 1.219 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.8722, allocations: 0 / 1.219 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0027/0.8749, allocations: 415.3 kB / 1.22 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005618/0.8755, allocations: 84.77 kB / 1.22 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001819/0.8757, allocations: 51.94 kB / 1.22 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/0.8776, allocations: 1.548 MB / 1.221 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.8776, allocations: 0 / 1.221 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008174/0.8858, allocations: 2.584 MB / 1.224 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008153/0.8867, allocations: 467.1 kB / 1.224 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003335/0.887, allocations: 35.88 kB / 1.224 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00251/0.8895, allocations: 235.6 kB / 1.224 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/0.8897, allocations: 105.2 kB / 1.225 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/0.8899, allocations: 63.94 kB / 1.225 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008965/0.8908, allocations: 0.5849 MB / 1.225 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8908, allocations: 0 / 1.225 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00145/0.8923, allocations: 0.5029 MB / 1.226 GB, free: 11.2 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.009747/0.9021, allocations: 3.683 MB / 1.229 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007604/0.9097, allocations: 2.488 MB / 1.232 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.9097, allocations: 0 / 1.232 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003943/0.9137, allocations: 1.404 MB / 1.233 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.9153, allocations: 322.6 kB / 1.233 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03336/0.9487, allocations: 13.74 MB / 1.247 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000832/0.9496, allocations: 1.195 MB / 1.248 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001954/0.9515, allocations: 489.5 kB / 1.248 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001383/0.9529, allocations: 0.5772 MB / 1.249 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of SimCode: time 8.21e-07/0.9529, allocations: 0 / 1.249 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4832/1.436, allocations: 31.72 MB / 1.28 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/1.436, allocations: 282.9 kB / 1.28 GB, free: 221.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.685/4.121, allocations: 4 kB / 1.28 GB, free: 221.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)