Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_9_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.0008716/0.0008717, allocations: 91.84 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.00511/0.00511, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.232/1.232, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.23/2.23, allocations: 390.9 MB / 0.6664 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003069, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5542/0.5545, allocations: 142.4 MB / 0.9552 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.003939/0.5585, allocations: 4.66 MB / 0.9597 GB, free: 4 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1298/0.6883, allocations: 146.9 MB / 1.103 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006965/0.689, allocations: 15.94 kB / 1.103 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005194/0.6896, allocations: 154.8 kB / 1.103 GB, free: 7 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.6911, allocations: 0.506 MB / 1.104 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.6929, allocations: 0.8571 MB / 1.105 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001655/0.6946, allocations: 1.742 MB / 1.106 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009704/0.6956, allocations: 0.7702 MB / 1.107 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006713/0.6963, allocations: 477.8 kB / 1.108 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007118/0.697, allocations: 0.5714 MB / 1.108 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.6971, allocations: 44 kB / 1.108 GB, free: 2 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008762/0.698, allocations: 0.4917 MB / 1.109 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000274/0.6983, allocations: 294.8 kB / 1.109 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005519/0.6989, allocations: 0.6112 MB / 1.11 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.7007, allocations: 1.997 MB / 1.112 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.7007, allocations: 0 / 1.112 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7007, allocations: 0 / 1.112 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.814e-05/0.7007, allocations: 0 / 1.112 GB, free: 14.59 MB / 0.8731 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.002712/0.7035, allocations: 1.511 MB / 1.113 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.7035, allocations: 8.031 kB / 1.113 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002106/0.7037, allocations: 189.9 kB / 1.113 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00894/0.7127, allocations: 1.564 MB / 1.115 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.7139, allocations: 0.9611 MB / 1.116 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.584e-05/0.714, allocations: 90.44 kB / 1.116 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.7142, allocations: 124 kB / 1.116 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004722/0.7189, allocations: 2.159 MB / 1.118 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.7189, allocations: 3.938 kB / 1.118 GB, free: 7.809 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.7191, allocations: 56 kB / 1.118 GB, free: 7.754 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.7191, allocations: 32 kB / 1.118 GB, free: 7.723 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00746/0.7266, allocations: 3.002 MB / 1.121 GB, free: 4.711 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007611/0.7342, allocations: 4.555 MB / 1.125 GB, free: 80 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007852/0.7421, allocations: 3.02 MB / 1.128 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003086/0.7452, allocations: 1.16 MB / 1.13 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004626/0.7457, allocations: 0.6061 MB / 1.13 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003487/0.7492, allocations: 1.465 MB / 1.132 GB, free: 9.641 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=132): time 4.84e-06/0.7492, allocations: 0 / 1.132 GB, free: 9.641 MB / 0.8887 GB Notification: Performance of matching and sorting (n=132): time 0.01051/0.7597, allocations: 3.734 MB / 1.135 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.857e-05/0.7598, allocations: 193.2 kB / 1.135 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008575/0.7606, allocations: 0.7707 MB / 1.136 GB, free: 4.859 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001227/0.7608, allocations: 53.7 kB / 1.136 GB, free: 4.801 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003106/0.7611, allocations: 484.7 kB / 1.137 GB, free: 4.32 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003221/0.7614, allocations: 429.8 kB / 1.137 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.7616, allocations: 97.66 kB / 1.137 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.7617, allocations: 353.9 kB / 1.137 GB, free: 3.441 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003075/0.7648, allocations: 1.056 MB / 1.139 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003146/0.7679, allocations: 1.206 MB / 1.14 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005993/0.7739, allocations: 2.13 MB / 1.142 GB, free: 15 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.774, allocations: 4 kB / 1.142 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.007126/0.7811, allocations: 2.507 MB / 1.144 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.7811, allocations: 4 kB / 1.144 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.7811, allocations: 4 kB / 1.144 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005441/0.7817, allocations: 84.83 kB / 1.144 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002284/0.784, allocations: 479.3 kB / 1.145 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/0.7858, allocations: 1.539 MB / 1.146 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.7879, allocations: 355.6 kB / 1.147 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.788, allocations: 55.94 kB / 1.147 GB, free: 9.836 MB / 0.9044 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.0005271/0.7886, allocations: 335.2 kB / 1.147 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.7888, allocations: 110.6 kB / 1.147 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008079/0.7968, allocations: 2.954 MB / 1.15 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.7969, allocations: 19.94 kB / 1.15 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.7969, allocations: 0 / 1.15 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.7969, allocations: 7.969 kB / 1.15 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009388/0.8063, allocations: 4.536 MB / 1.154 GB, free: 1.797 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.8063, allocations: 0 / 1.154 GB, free: 1.797 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002241/0.8086, allocations: 467.4 kB / 1.155 GB, free: 1.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004853/0.8091, allocations: 88.77 kB / 1.155 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/0.8092, allocations: 47.94 kB / 1.155 GB, free: 1.203 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.8108, allocations: 1.567 MB / 1.157 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8108, allocations: 0 / 1.157 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007218/0.818, allocations: 2.718 MB / 1.159 GB, free: 12.76 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005615/0.8186, allocations: 450.9 kB / 1.16 GB, free: 12.3 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/0.8188, allocations: 27.98 kB / 1.16 GB, free: 12.27 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002045/0.8209, allocations: 299.7 kB / 1.16 GB, free: 11.98 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.821, allocations: 109.1 kB / 1.16 GB, free: 11.88 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/0.8212, allocations: 63.94 kB / 1.16 GB, free: 11.81 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006308/0.8218, allocations: 0.5537 MB / 1.161 GB, free: 11.26 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8218, allocations: 0 / 1.161 GB, free: 11.26 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001051/0.8229, allocations: 475.1 kB / 1.161 GB, free: 10.8 MB / 0.92 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.008653/0.8315, allocations: 3.821 MB / 1.165 GB, free: 7.125 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.006804/0.8384, allocations: 2.543 MB / 1.167 GB, free: 4.57 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.8384, allocations: 4.062 kB / 1.167 GB, free: 4.566 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003507/0.8419, allocations: 1.427 MB / 1.169 GB, free: 3.125 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.8433, allocations: 298.6 kB / 1.169 GB, free: 2.844 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02923/0.8725, allocations: 13.8 MB / 1.182 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006365/0.8731, allocations: 1.155 MB / 1.184 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001571/0.8747, allocations: 477.1 kB / 1.184 GB, free: 3.086 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009329/0.8757, allocations: 0.5421 MB / 1.185 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.8757, allocations: 0 / 1.185 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.268/6.144, allocations: 29.3 MB / 1.213 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/6.144, allocations: 300.4 kB / 1.213 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.773/8.917, allocations: 0 / 1.213 GB, free: 5.219 MB / 0.9669 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1)