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.001041/0.001041, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.195/2.195, allocations: 390.3 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001266, allocations: 63.91 kB / 0.8126 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5021/0.5034, allocations: 140.4 MB / 0.9497 GB, free: 9.406 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.00498/0.5084, allocations: 5.092 MB / 0.9547 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1351/0.6434, allocations: 151.2 MB / 1.102 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008712/0.6443, allocations: 19.94 kB / 1.102 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006051/0.645, allocations: 190.1 kB / 1.103 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.6469, allocations: 0.6016 MB / 1.103 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.6489, allocations: 0.9654 MB / 1.104 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001662/0.6506, allocations: 1.777 MB / 1.106 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009905/0.6516, allocations: 0.8102 MB / 1.107 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007644/0.6523, allocations: 0.6502 MB / 1.107 GB, free: 28 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008406/0.6532, allocations: 0.7197 MB / 1.108 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003382/0.6535, allocations: 167.9 kB / 1.108 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.6546, allocations: 0.6089 MB / 1.109 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004064/0.6551, allocations: 446.7 kB / 1.109 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007773/0.6558, allocations: 0.7423 MB / 1.11 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002037/0.6579, allocations: 2.127 MB / 1.112 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6579, allocations: 0 / 1.112 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6579, allocations: 0 / 1.112 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.368e-05/0.658, allocations: 0 / 1.112 GB, free: 11.21 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.00325/0.6612, allocations: 1.799 MB / 1.114 GB, free: 9.355 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.6613, allocations: 12.03 kB / 1.114 GB, free: 9.344 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002138/0.6615, allocations: 186 kB / 1.114 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008778/0.6703, allocations: 1.271 MB / 1.115 GB, free: 7.879 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.6716, allocations: 0.9611 MB / 1.116 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.999e-05/0.6717, allocations: 90.45 kB / 1.116 GB, free: 6.781 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/0.6719, allocations: 120 kB / 1.116 GB, free: 6.664 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004673/0.6765, allocations: 2.034 MB / 1.118 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.6766, allocations: 8 kB / 1.118 GB, free: 4.559 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/0.6767, allocations: 55.98 kB / 1.118 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.6768, allocations: 28 kB / 1.118 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007207/0.684, allocations: 2.756 MB / 1.121 GB, free: 1.711 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007443/0.6914, allocations: 4.477 MB / 1.125 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007665/0.6991, allocations: 2.743 MB / 1.128 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002927/0.702, allocations: 1.04 MB / 1.129 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004651/0.7025, allocations: 0.6062 MB / 1.13 GB, free: 8.609 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00337/0.7059, allocations: 1.356 MB / 1.131 GB, free: 7.23 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=132): time 2.645e-06/0.7059, allocations: 0 / 1.131 GB, free: 7.23 MB / 0.8887 GB Notification: Performance of matching and sorting (n=132): time 0.01049/0.7164, allocations: 3.383 MB / 1.134 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/0.7165, allocations: 201.2 kB / 1.135 GB, free: 3.578 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000849/0.7174, allocations: 0.7707 MB / 1.135 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.7175, allocations: 49.7 kB / 1.135 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.7178, allocations: 488.8 kB / 1.136 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/0.7181, allocations: 429.8 kB / 1.136 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004213/0.7185, allocations: 250.7 kB / 1.136 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.7186, allocations: 349.9 kB / 1.137 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002931/0.7216, allocations: 0.9431 MB / 1.138 GB, free: 292 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003042/0.7246, allocations: 1.089 MB / 1.139 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005825/0.7305, allocations: 1.903 MB / 1.141 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.7305, allocations: 3.938 kB / 1.141 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.006927/0.7374, allocations: 2.276 MB / 1.143 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.7374, allocations: 8 kB / 1.143 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.7374, allocations: 3.938 kB / 1.143 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005565/0.738, allocations: 88.83 kB / 1.143 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00226/0.7403, allocations: 419.3 kB / 1.143 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.7422, allocations: 1.65 MB / 1.145 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/0.7441, allocations: 278.7 kB / 1.145 GB, free: 8.375 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.7442, allocations: 63.94 kB / 1.145 GB, free: 8.312 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.0004959/0.7447, allocations: 331.3 kB / 1.146 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.745, allocations: 110.6 kB / 1.146 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007806/0.7528, allocations: 2.731 MB / 1.148 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.7528, allocations: 20 kB / 1.148 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.7528, allocations: 0 / 1.148 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.7529, allocations: 7.969 kB / 1.148 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009401/0.7623, allocations: 4.294 MB / 1.153 GB, free: 0.7383 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.7623, allocations: 4 kB / 1.153 GB, free: 0.7344 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002185/0.7645, allocations: 411.4 kB / 1.153 GB, free: 340 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000447/0.7649, allocations: 76.78 kB / 1.153 GB, free: 260 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/0.7651, allocations: 51.94 kB / 1.153 GB, free: 208 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001765/0.7669, allocations: 1.67 MB / 1.155 GB, free: 14.39 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.7669, allocations: 3.984 kB / 1.155 GB, free: 14.39 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007204/0.7741, allocations: 2.491 MB / 1.157 GB, free: 11.88 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006414/0.7748, allocations: 431 kB / 1.158 GB, free: 11.43 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002508/0.775, allocations: 28 kB / 1.158 GB, free: 11.41 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002002/0.777, allocations: 230 kB / 1.158 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/0.7772, allocations: 105.1 kB / 1.158 GB, free: 11.08 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/0.7774, allocations: 67.92 kB / 1.158 GB, free: 11.01 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007119/0.7781, allocations: 0.5537 MB / 1.159 GB, free: 10.46 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7781, allocations: 0 / 1.159 GB, free: 10.46 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001159/0.7793, allocations: 471.1 kB / 1.159 GB, free: 10 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.008719/0.788, allocations: 3.582 MB / 1.162 GB, free: 6.57 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.008471/0.7965, allocations: 2.89 MB / 1.165 GB, free: 3.664 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.7965, allocations: 8.125 kB / 1.165 GB, free: 3.656 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003483/0.8, allocations: 1.314 MB / 1.167 GB, free: 2.332 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.8013, allocations: 339.2 kB / 1.167 GB, free: 2.027 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02747/0.8288, allocations: 12.52 MB / 1.179 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009756/0.8298, allocations: 1.159 MB / 1.18 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001887/0.8317, allocations: 489 kB / 1.181 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009974/0.8327, allocations: 0.5421 MB / 1.181 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of SimCode: time 5.01e-07/0.8327, allocations: 0 / 1.181 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1294/0.9621, allocations: 30.77 MB / 1.211 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.94, allocations: 10 kB / 1.211 GB, free: 4.516 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)