Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.SideFins,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_9_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.001485/0.00149, 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.001897/0.001898, allocations: 192.6 kB / 16.25 MB, free: 6.641 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.578/1.578, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.353/2.353, allocations: 390.2 MB / 0.6644 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 63.89 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6118/0.6141, allocations: 140.4 MB / 0.9492 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.005368/0.6195, allocations: 5.254 MB / 0.9544 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1459/0.7654, allocations: 149.2 MB / 1.1 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008173/0.7663, allocations: 15.94 kB / 1.1 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005305/0.7668, allocations: 154.8 kB / 1.1 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.7686, allocations: 0.5478 MB / 1.101 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001844/0.7705, allocations: 0.8802 MB / 1.102 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001461/0.772, allocations: 1.886 MB / 1.103 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.773, allocations: 0.8987 MB / 1.104 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006475/0.7736, allocations: 0.7124 MB / 1.105 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006993/0.7744, allocations: 0.7897 MB / 1.106 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001987/0.7746, allocations: 192 kB / 1.106 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000877/0.7754, allocations: 0.6401 MB / 1.107 GB, free: 228 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003411/0.7758, allocations: 478.6 kB / 1.107 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000592/0.7764, allocations: 0.8279 MB / 1.108 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001922/0.7783, allocations: 2.36 MB / 1.11 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.7783, allocations: 0 / 1.11 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7784, allocations: 0 / 1.11 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.7784, allocations: 0 / 1.11 GB, free: 12.55 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.003216/0.7816, allocations: 1.894 MB / 1.112 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.7816, allocations: 8.031 kB / 1.112 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002153/0.7819, allocations: 206.7 kB / 1.112 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009542/0.7914, allocations: 1.282 MB / 1.114 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.7928, allocations: 1.039 MB / 1.115 GB, free: 8.012 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.581e-05/0.7929, allocations: 98.67 kB / 1.115 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.7931, allocations: 128 kB / 1.115 GB, free: 7.789 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005148/0.7983, allocations: 2.209 MB / 1.117 GB, free: 5.52 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.7983, allocations: 3.938 kB / 1.117 GB, free: 5.516 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/0.7985, allocations: 59.98 kB / 1.117 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/0.7985, allocations: 36 kB / 1.117 GB, free: 5.422 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007616/0.8061, allocations: 2.968 MB / 1.12 GB, free: 2.445 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008916/0.8151, allocations: 5.091 MB / 1.125 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008118/0.8232, allocations: 2.868 MB / 1.128 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003136/0.8263, allocations: 1.127 MB / 1.129 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005358/0.8269, allocations: 0.6105 MB / 1.129 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003684/0.8306, allocations: 1.446 MB / 1.131 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=133): time 3.506e-06/0.8306, allocations: 0 / 1.131 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of matching and sorting (n=133): time 0.01121/0.8418, allocations: 3.617 MB / 1.134 GB, free: 3.418 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.156e-05/0.8419, allocations: 201.2 kB / 1.134 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.8431, allocations: 0.8138 MB / 1.135 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001549/0.8433, allocations: 53.7 kB / 1.135 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004343/0.8437, allocations: 0.5123 MB / 1.136 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.00038/0.8441, allocations: 433.7 kB / 1.136 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005194/0.8446, allocations: 254.6 kB / 1.136 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.8448, allocations: 349.9 kB / 1.137 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003146/0.8479, allocations: 1.033 MB / 1.138 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003235/0.8512, allocations: 1.179 MB / 1.139 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005991/0.8572, allocations: 2.04 MB / 1.141 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.8572, allocations: 0 / 1.141 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007354/0.8645, allocations: 2.432 MB / 1.143 GB, free: 10 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.8646, allocations: 14.12 kB / 1.143 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.8646, allocations: 3.984 kB / 1.143 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006353/0.8652, allocations: 88.83 kB / 1.143 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002513/0.8678, allocations: 419.3 kB / 1.144 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.8698, allocations: 1.647 MB / 1.145 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/0.8721, allocations: 274.7 kB / 1.146 GB, free: 7.422 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.8723, allocations: 63.92 kB / 1.146 GB, free: 7.359 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 (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.0007184/0.873, allocations: 359.4 kB / 1.146 GB, free: 7 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003613/0.8733, allocations: 118.5 kB / 1.146 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008525/0.8819, allocations: 2.876 MB / 1.149 GB, free: 3.992 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.8819, allocations: 19.98 kB / 1.149 GB, free: 3.973 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.8819, allocations: 0 / 1.149 GB, free: 3.973 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/0.8819, allocations: 7.969 kB / 1.149 GB, free: 3.965 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.8841, allocations: 1.812 MB / 1.151 GB, free: 2.102 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.8841, allocations: 3.984 kB / 1.151 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002385/0.8865, allocations: 415.4 kB / 1.151 GB, free: 1.691 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004832/0.887, allocations: 64.8 kB / 1.151 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/0.8872, allocations: 55.94 kB / 1.151 GB, free: 1.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.889, allocations: 1.677 MB / 1.153 GB, free: 15.75 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.889, allocations: 4 kB / 1.153 GB, free: 15.74 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00743/0.8965, allocations: 2.576 MB / 1.156 GB, free: 13.14 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006904/0.8972, allocations: 467.1 kB / 1.156 GB, free: 12.67 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002743/0.8975, allocations: 39.86 kB / 1.156 GB, free: 12.63 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002132/0.8996, allocations: 223.7 kB / 1.156 GB, free: 12.41 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001937/0.8998, allocations: 101.2 kB / 1.156 GB, free: 12.31 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/0.9, allocations: 67.94 kB / 1.156 GB, free: 12.25 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007381/0.9007, allocations: 0.5849 MB / 1.157 GB, free: 11.66 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9007, allocations: 0 / 1.157 GB, free: 11.66 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001209/0.9019, allocations: 494.9 kB / 1.157 GB, free: 11.18 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,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.009015/0.911, allocations: 3.67 MB / 1.161 GB, free: 7.652 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.008818/0.9198, allocations: 3.074 MB / 1.164 GB, free: 4.566 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.9198, allocations: 0 / 1.164 GB, free: 4.566 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003627/0.9234, allocations: 1.4 MB / 1.165 GB, free: 3.152 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.9248, allocations: 347 kB / 1.166 GB, free: 2.844 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03172/0.9566, allocations: 13.91 MB / 1.179 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008203/0.9574, allocations: 1.195 MB / 1.18 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001988/0.9594, allocations: 493.3 kB / 1.181 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/0.9605, allocations: 0.5773 MB / 1.181 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of SimCode: time 6.71e-07/0.9605, allocations: 0 / 1.181 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.333/3.293, allocations: 32.09 MB / 1.213 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/3.293, allocations: 277.2 kB / 1.213 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.324/6.618, allocations: 0 / 1.213 GB, free: 2.191 MB / 0.9669 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1)