Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_latest_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.0009851/0.000985, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001072/0.001072, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.543/2.543, allocations: 409.2 MB / 0.6838 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.000401, allocations: 12 kB / 0.8375 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7703/0.7707, allocations: 146.8 MB / 0.9809 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.005683/0.7765, allocations: 4.426 MB / 0.9852 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1661/0.9426, allocations: 128 MB / 1.11 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.9437, allocations: 19.88 kB / 1.11 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004581/0.9442, allocations: 91.17 kB / 1.11 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.9461, allocations: 0.5675 MB / 1.111 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002128/0.9483, allocations: 0.7332 MB / 1.112 GB, free: 156 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001968/0.9502, allocations: 1.131 MB / 1.113 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.9513, allocations: 0.6715 MB / 1.113 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008926/0.9522, allocations: 0.4902 MB / 1.114 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007825/0.953, allocations: 0.5032 MB / 1.114 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.9531, allocations: 40 kB / 1.114 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.9542, allocations: 427.5 kB / 1.115 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003264/0.9546, allocations: 290.9 kB / 1.115 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002936/0.9549, allocations: 276.9 kB / 1.115 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002244/0.9571, allocations: 1.765 MB / 1.117 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.9572, allocations: 0 / 1.117 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of FrontEnd: time 6.692e-06/0.9572, allocations: 0 / 1.117 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.665e-05/0.9572, allocations: 7.938 kB / 1.117 GB, free: 10.53 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.003788/0.961, allocations: 1.59 MB / 1.119 GB, free: 8.879 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.9611, allocations: 12.03 kB / 1.119 GB, free: 8.867 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002987/0.9614, allocations: 194.5 kB / 1.119 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009466/0.9709, allocations: 1.578 MB / 1.12 GB, free: 7.086 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002618/0.9735, allocations: 1.004 MB / 1.121 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.9737, allocations: 102.6 kB / 1.121 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002396/0.9739, allocations: 132 kB / 1.121 GB, free: 5.809 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0058/0.9797, allocations: 2.307 MB / 1.124 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.9798, allocations: 7.938 kB / 1.124 GB, free: 3.434 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/0.98, allocations: 56 kB / 1.124 GB, free: 3.379 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.202e-05/0.98, allocations: 32 kB / 1.124 GB, free: 3.348 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008341/0.9884, allocations: 3.199 MB / 1.127 GB, free: 144 kB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01353/1.002, allocations: 5.158 MB / 1.132 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008765/1.011, allocations: 3.163 MB / 1.135 GB, free: 7.738 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006703/1.012, allocations: 0.6105 MB / 1.136 GB, free: 7 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003948/1.015, allocations: 1.555 MB / 1.137 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=133): time 2.896e-06/1.015, allocations: 0 / 1.137 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of matching and sorting (n=133): time 0.012/1.027, allocations: 3.958 MB / 1.141 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/1.028, allocations: 197.2 kB / 1.141 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/1.029, allocations: 0.806 MB / 1.142 GB, free: 396 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002352/1.029, allocations: 49.7 kB / 1.142 GB, free: 340 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004934/1.03, allocations: 0.5164 MB / 1.143 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004572/1.03, allocations: 437.7 kB / 1.143 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/1.03, allocations: 20 kB / 1.143 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.03, allocations: 353.9 kB / 1.143 GB, free: 15 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003284/1.034, allocations: 1.142 MB / 1.144 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003444/1.037, allocations: 1.28 MB / 1.146 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003297/1.04, allocations: 1.123 MB / 1.147 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/1.041, allocations: 4 kB / 1.147 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007793/1.048, allocations: 2.651 MB / 1.149 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/1.048, allocations: 5.562 kB / 1.149 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/1.048, allocations: 4 kB / 1.149 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005887/1.049, allocations: 84.83 kB / 1.15 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002597/1.052, allocations: 487.3 kB / 1.15 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/1.054, allocations: 1.559 MB / 1.152 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002694/1.057, allocations: 342.7 kB / 1.152 GB, free: 6.152 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002661/1.057, allocations: 63.92 kB / 1.152 GB, free: 6.09 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 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009778/1.058, allocations: 355.2 kB / 1.152 GB, free: 5.734 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003187/1.058, allocations: 114.6 kB / 1.152 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008807/1.067, allocations: 3.11 MB / 1.155 GB, free: 2.496 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/1.067, allocations: 12 kB / 1.155 GB, free: 2.484 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.067, allocations: 4 kB / 1.155 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-05/1.067, allocations: 11.97 kB / 1.155 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002657/1.07, allocations: 1.811 MB / 1.157 GB, free: 0.6055 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.07, allocations: 0 / 1.157 GB, free: 0.6055 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002393/1.072, allocations: 479.3 kB / 1.158 GB, free: 140 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005395/1.073, allocations: 80.78 kB / 1.158 GB, free: 56 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/1.073, allocations: 55.94 kB / 1.158 GB, free: 0 / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/1.075, allocations: 1.575 MB / 1.159 GB, free: 14.29 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.075, allocations: 4.062 kB / 1.159 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008061/1.083, allocations: 2.803 MB / 1.162 GB, free: 11.45 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/1.085, allocations: 483 kB / 1.162 GB, free: 10.96 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002574/1.085, allocations: 31.98 kB / 1.163 GB, free: 10.93 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002053/1.087, allocations: 316.1 kB / 1.163 GB, free: 10.62 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002393/1.087, allocations: 101.2 kB / 1.163 GB, free: 10.52 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/1.087, allocations: 59.94 kB / 1.163 GB, free: 10.46 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009312/1.088, allocations: 0.581 MB / 1.164 GB, free: 9.887 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.81e-07/1.088, allocations: 0 / 1.164 GB, free: 9.887 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001511/1.09, allocations: 494.9 kB / 1.164 GB, free: 9.402 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.009707/1.099, allocations: 3.889 MB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.007824/1.107, allocations: 2.711 MB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/1.107, allocations: 0 / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.004051/1.111, allocations: 1.509 MB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/1.113, allocations: 273 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02731/1.14, allocations: 11.12 MB / 1.183 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009907/1.141, allocations: 1.226 MB / 1.184 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002062/1.143, allocations: 489.3 kB / 1.185 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/1.145, allocations: 0.589 MB / 1.185 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of SimCode: time 1.332e-06/1.145, allocations: 0 / 1.185 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06338/1.208, allocations: 32.31 MB / 1.217 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/1.208, allocations: 257.9 kB / 1.217 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.757/3.965, allocations: 4 kB / 1.217 GB, free: 3.145 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat does not exist to compare? outputFormat=mat