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.006676/0.006676, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001507/0.001508, allocations: 192.8 kB / 16.67 MB, free: 5.52 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.226/1.226, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.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.067/2.067, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 63.91 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6141/0.6153, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.005538/0.6209, allocations: 5.09 MB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1546/0.7754, allocations: 151.2 MB / 1.24 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009097/0.7764, allocations: 21.69 kB / 1.24 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.777, allocations: 192 kB / 1.24 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001699/0.7787, allocations: 0.5972 MB / 1.241 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.7808, allocations: 0.9685 MB / 1.242 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001542/0.7823, allocations: 1.785 MB / 1.244 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009603/0.7833, allocations: 0.8038 MB / 1.244 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007623/0.7841, allocations: 0.6664 MB / 1.245 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007567/0.7848, allocations: 0.7178 MB / 1.246 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000192/0.785, allocations: 160 kB / 1.246 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.7861, allocations: 0.644 MB / 1.247 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003386/0.7865, allocations: 438.7 kB / 1.247 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006163/0.7871, allocations: 0.7501 MB / 1.248 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002087/0.7892, allocations: 2.173 MB / 1.25 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.7892, allocations: 4 kB / 1.25 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7892, allocations: 0 / 1.25 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.725e-05/0.7892, allocations: 0 / 1.25 GB, free: 7.512 MB / 0.9825 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.002933/0.7922, allocations: 1.799 MB / 1.252 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.7922, allocations: 8.031 kB / 1.252 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001956/0.7924, allocations: 182 kB / 1.252 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008562/0.801, allocations: 1.282 MB / 1.253 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.8025, allocations: 0.9845 MB / 1.254 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.605e-05/0.8025, allocations: 86.45 kB / 1.254 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.8028, allocations: 124 kB / 1.254 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004611/0.8074, allocations: 2.038 MB / 1.256 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.8074, allocations: 0 / 1.256 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/0.8076, allocations: 48 kB / 1.256 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.8076, allocations: 32 kB / 1.256 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007307/0.8149, allocations: 2.756 MB / 1.259 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008022/0.8229, allocations: 4.43 MB / 1.263 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007824/0.8308, allocations: 2.735 MB / 1.266 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003021/0.8338, allocations: 1.046 MB / 1.267 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005184/0.8343, allocations: 0.6023 MB / 1.268 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003415/0.8378, allocations: 1.363 MB / 1.269 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=132): time 3.136e-06/0.8378, allocations: 0 / 1.269 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.01069/0.8485, allocations: 3.383 MB / 1.272 GB, free: 144 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.8486, allocations: 193.2 kB / 1.272 GB, free: 15.91 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009382/0.8496, allocations: 0.7707 MB / 1.273 GB, free: 15.12 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001538/0.8497, allocations: 49.7 kB / 1.273 GB, free: 15.07 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003411/0.8501, allocations: 492.7 kB / 1.274 GB, free: 14.58 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003491/0.8504, allocations: 429.8 kB / 1.274 GB, free: 14.15 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004222/0.8509, allocations: 254.7 kB / 1.274 GB, free: 13.9 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.851, allocations: 349.9 kB / 1.275 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002958/0.8539, allocations: 0.9469 MB / 1.276 GB, free: 12.6 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003088/0.857, allocations: 1.096 MB / 1.277 GB, free: 11.47 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005763/0.8628, allocations: 1.907 MB / 1.278 GB, free: 9.551 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.8628, allocations: 0 / 1.278 GB, free: 9.551 MB / 1.014 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.006963/0.8698, allocations: 2.268 MB / 1.281 GB, free: 7.27 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.8698, allocations: 8.062 kB / 1.281 GB, free: 7.262 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/0.8698, allocations: 4.062 kB / 1.281 GB, free: 7.258 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000561/0.8704, allocations: 88.77 kB / 1.281 GB, free: 7.168 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002257/0.8727, allocations: 423.3 kB / 1.281 GB, free: 6.754 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.8746, allocations: 1.638 MB / 1.283 GB, free: 4.973 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/0.8766, allocations: 282.6 kB / 1.283 GB, free: 4.695 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.8767, allocations: 59.94 kB / 1.283 GB, free: 4.637 MB / 1.014 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.0005821/0.8773, allocations: 330 kB / 1.283 GB, free: 4.305 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002497/0.8775, allocations: 110.8 kB / 1.284 GB, free: 4.195 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007759/0.8853, allocations: 2.723 MB / 1.286 GB, free: 1.457 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.8853, allocations: 16 kB / 1.286 GB, free: 1.441 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.8854, allocations: 0 / 1.286 GB, free: 1.441 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.8854, allocations: 7.969 kB / 1.286 GB, free: 1.434 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009503/0.8949, allocations: 4.319 MB / 1.29 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.8949, allocations: 0 / 1.29 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002228/0.8971, allocations: 411.3 kB / 1.291 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004416/0.8976, allocations: 76.77 kB / 1.291 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.8977, allocations: 51.94 kB / 1.291 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/0.8995, allocations: 1.666 MB / 1.293 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8996, allocations: 4.031 kB / 1.293 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007201/0.9068, allocations: 2.485 MB / 1.295 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006943/0.9075, allocations: 431.1 kB / 1.295 GB, free: 7.75 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002016/0.9077, allocations: 31.98 kB / 1.295 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/0.9096, allocations: 226.3 kB / 1.296 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.9098, allocations: 109.1 kB / 1.296 GB, free: 7.395 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.91, allocations: 59.94 kB / 1.296 GB, free: 7.336 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006716/0.9106, allocations: 0.5576 MB / 1.296 GB, free: 6.781 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9107, allocations: 0 / 1.296 GB, free: 6.781 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001155/0.9118, allocations: 479.1 kB / 1.297 GB, free: 6.312 MB / 1.029 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.008879/0.9207, allocations: 3.603 MB / 1.3 GB, free: 2.863 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006859/0.9276, allocations: 2.317 MB / 1.303 GB, free: 0.5312 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.9276, allocations: 0 / 1.303 GB, free: 0.5312 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.003537/0.9311, allocations: 1.314 MB / 1.304 GB, free: 15.21 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.9325, allocations: 320.3 kB / 1.304 GB, free: 14.91 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02779/0.9603, allocations: 12.1 MB / 1.316 GB, free: 2.652 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007213/0.9611, allocations: 1.167 MB / 1.317 GB, free: 1.453 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001527/0.9626, allocations: 477 kB / 1.318 GB, free: 0.9844 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009255/0.9636, allocations: 0.5421 MB / 1.318 GB, free: 452 kB / 1.045 GB Notification: Performance of SimCode: time 5.41e-07/0.9636, allocations: 0 / 1.318 GB, free: 452 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7432/1.707, allocations: 31.08 MB / 1.348 GB, free: 1.664 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.64/17.35, allocations: 15.78 kB / 1.349 GB, free: 1.648 MB / 1.076 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)