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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001112/0.001112, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001087/0.001087, allocations: 189 kB / 16.25 MB, free: 6.645 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.248/1.248, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.108/2.108, allocations: 390.2 MB / 0.6644 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 67.89 kB / 0.8122 GB, free: 14.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5014/0.5029, allocations: 140.4 MB / 0.9492 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.004903/0.5078, allocations: 5.08 MB / 0.9542 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1423/0.6501, allocations: 149 MB / 1.1 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008641/0.651, allocations: 27.81 kB / 1.1 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006617/0.6517, allocations: 146.8 kB / 1.1 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001842/0.6536, allocations: 0.5195 MB / 1.1 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.6556, allocations: 0.8797 MB / 1.101 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001769/0.6574, allocations: 1.773 MB / 1.103 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.6584, allocations: 0.8024 MB / 1.104 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008094/0.6593, allocations: 0.6579 MB / 1.104 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000815/0.6601, allocations: 0.7392 MB / 1.105 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002621/0.6604, allocations: 164 kB / 1.105 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009658/0.6613, allocations: 0.6128 MB / 1.106 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003885/0.6617, allocations: 450.6 kB / 1.106 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007927/0.6625, allocations: 0.7463 MB / 1.107 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002111/0.6647, allocations: 2.119 MB / 1.109 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.6647, allocations: 3.938 kB / 1.109 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.173e-06/0.6647, allocations: 4 kB / 1.109 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.074e-05/0.6647, allocations: 0 / 1.109 GB, free: 13.68 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.003461/0.6682, allocations: 1.795 MB / 1.111 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.6682, allocations: 12.03 kB / 1.111 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002304/0.6685, allocations: 186 kB / 1.111 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008659/0.6771, allocations: 1.278 MB / 1.112 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.6785, allocations: 0.9649 MB / 1.113 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.358e-05/0.6786, allocations: 94.45 kB / 1.113 GB, free: 9.238 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/0.6788, allocations: 116 kB / 1.113 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004683/0.6835, allocations: 2.038 MB / 1.115 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.6835, allocations: 0 / 1.115 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.6837, allocations: 56 kB / 1.116 GB, free: 6.969 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.6837, allocations: 28 kB / 1.116 GB, free: 6.941 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006913/0.6906, allocations: 2.752 MB / 1.118 GB, free: 4.18 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007674/0.6983, allocations: 4.477 MB / 1.123 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007236/0.7056, allocations: 2.735 MB / 1.125 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002789/0.7084, allocations: 1.044 MB / 1.126 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005073/0.7089, allocations: 0.6102 MB / 1.127 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003299/0.7122, allocations: 1.356 MB / 1.128 GB, free: 9.699 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=132): time 2.625e-06/0.7122, allocations: 0 / 1.128 GB, free: 9.699 MB / 0.8887 GB Notification: Performance of matching and sorting (n=132): time 0.01012/0.7223, allocations: 3.387 MB / 1.132 GB, free: 6.281 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.031e-05/0.7224, allocations: 197.2 kB / 1.132 GB, free: 6.047 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008635/0.7233, allocations: 0.7668 MB / 1.132 GB, free: 5.266 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/0.7234, allocations: 53.7 kB / 1.133 GB, free: 5.207 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003243/0.7238, allocations: 488.8 kB / 1.133 GB, free: 4.723 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003435/0.7241, allocations: 429.8 kB / 1.133 GB, free: 4.297 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004437/0.7246, allocations: 250.7 kB / 1.134 GB, free: 4.047 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.7247, allocations: 353.9 kB / 1.134 GB, free: 3.695 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002798/0.7275, allocations: 0.9391 MB / 1.135 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002895/0.7304, allocations: 1.093 MB / 1.136 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005395/0.7358, allocations: 1.903 MB / 1.138 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.7358, allocations: 0 / 1.138 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00653/0.7424, allocations: 2.284 MB / 1.14 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.7424, allocations: 4 kB / 1.14 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.7424, allocations: 0 / 1.14 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005768/0.743, allocations: 84.8 kB / 1.14 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/0.7452, allocations: 423.3 kB / 1.141 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/0.7472, allocations: 1.646 MB / 1.142 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/0.7492, allocations: 286.7 kB / 1.142 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.7493, allocations: 59.92 kB / 1.142 GB, free: 10.78 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.0005384/0.7499, allocations: 323.3 kB / 1.143 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002614/0.7501, allocations: 114.6 kB / 1.143 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007538/0.7577, allocations: 2.723 MB / 1.146 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.7577, allocations: 16 kB / 1.146 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.7577, allocations: 0 / 1.146 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.7577, allocations: 7.969 kB / 1.146 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008969/0.7667, allocations: 4.294 MB / 1.15 GB, free: 3.227 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.7667, allocations: 0 / 1.15 GB, free: 3.227 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002153/0.7689, allocations: 415.3 kB / 1.15 GB, free: 2.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004083/0.7693, allocations: 80.78 kB / 1.15 GB, free: 2.738 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/0.7694, allocations: 47.94 kB / 1.15 GB, free: 2.691 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.7712, allocations: 1.678 MB / 1.152 GB, free: 0.8711 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7712, allocations: 0 / 1.152 GB, free: 0.8711 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00665/0.7779, allocations: 2.487 MB / 1.154 GB, free: 14.36 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005863/0.7785, allocations: 431 kB / 1.155 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/0.7787, allocations: 31.98 kB / 1.155 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/0.7806, allocations: 223.7 kB / 1.155 GB, free: 13.67 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.7808, allocations: 109.1 kB / 1.155 GB, free: 13.56 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/0.781, allocations: 67.94 kB / 1.155 GB, free: 13.49 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006349/0.7816, allocations: 0.5498 MB / 1.156 GB, free: 12.95 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7816, allocations: 0 / 1.156 GB, free: 12.95 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001077/0.7827, allocations: 479.1 kB / 1.156 GB, free: 12.48 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.008242/0.7909, allocations: 3.59 MB / 1.16 GB, free: 9.039 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.007948/0.7989, allocations: 2.891 MB / 1.162 GB, free: 6.133 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.7989, allocations: 0 / 1.162 GB, free: 6.133 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00325/0.8022, allocations: 1.31 MB / 1.164 GB, free: 4.812 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.8037, allocations: 321.9 kB / 1.164 GB, free: 4.523 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02833/0.832, allocations: 13.07 MB / 1.177 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006845/0.8327, allocations: 1.159 MB / 1.178 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001668/0.8344, allocations: 485 kB / 1.178 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009153/0.8353, allocations: 0.5343 MB / 1.179 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of SimCode: time 1.042e-06/0.8353, allocations: 0 / 1.179 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.703/1.538, allocations: 30.55 MB / 1.209 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/1.539, allocations: 294.8 kB / 1.209 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.232/4.771, allocations: 0 / 1.209 GB, free: 6.348 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)