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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001492/0.001492, allocations: 108 kB / 15.61 MB, free: 152 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.001798/0.001798, allocations: 190.5 kB / 16.53 MB, free: 6.664 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.771/2.771, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 60.42 kB / 0.8992 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3465, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.00899/0.3556, allocations: 6.239 MB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1765/0.5322, allocations: 151.6 MB / 1.207 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001624/0.5338, allocations: 23.88 kB / 1.207 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.535, allocations: 225.8 kB / 1.207 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003269/0.5384, allocations: 0.6984 MB / 1.208 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00303/0.5414, allocations: 1.002 MB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003116/0.5445, allocations: 2.037 MB / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001765/0.5463, allocations: 0.8563 MB / 1.212 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.5478, allocations: 0.7281 MB / 1.212 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.5493, allocations: 0.8093 MB / 1.213 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0006147/0.5499, allocations: 188 kB / 1.213 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.5518, allocations: 0.6363 MB / 1.214 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007748/0.5526, allocations: 478.6 kB / 1.214 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001671/0.5542, allocations: 0.8554 MB / 1.215 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004029/0.5583, allocations: 2.419 MB / 1.218 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.5583, allocations: 11.92 kB / 1.218 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5583, allocations: 4 kB / 1.218 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.827e-05/0.5584, allocations: 0 / 1.218 GB, free: 14.89 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.005389/0.5638, allocations: 1.91 MB / 1.22 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.5639, allocations: 8.625 kB / 1.22 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005329/0.5644, allocations: 202.7 kB / 1.22 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009332/0.5737, allocations: 1.286 MB / 1.221 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002571/0.5763, allocations: 1.035 MB / 1.222 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.5765, allocations: 98.67 kB / 1.222 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004173/0.5769, allocations: 128 kB / 1.222 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006473/0.5834, allocations: 2.217 MB / 1.224 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/0.5834, allocations: 0 / 1.224 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002629/0.5837, allocations: 56 kB / 1.224 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-05/0.5838, allocations: 35.94 kB / 1.224 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008453/0.5922, allocations: 2.96 MB / 1.227 GB, free: 4.781 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01073/0.603, allocations: 5.407 MB / 1.233 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008703/0.6117, allocations: 2.88 MB / 1.235 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003373/0.6151, allocations: 1.131 MB / 1.237 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006096/0.6157, allocations: 0.6026 MB / 1.237 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003976/0.6197, allocations: 1.454 MB / 1.239 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=133): time 4.799e-06/0.6198, allocations: 0 / 1.239 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133): time 0.01188/0.6317, allocations: 3.625 MB / 1.242 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.6318, allocations: 201.2 kB / 1.242 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.6331, allocations: 0.8138 MB / 1.243 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001639/0.6333, allocations: 53.7 kB / 1.243 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004758/0.6338, allocations: 0.5123 MB / 1.244 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00043/0.6342, allocations: 437.8 kB / 1.244 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000535/0.6348, allocations: 250.7 kB / 1.244 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.6349, allocations: 353.9 kB / 1.245 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003214/0.6382, allocations: 1.029 MB / 1.246 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003436/0.6416, allocations: 1.179 MB / 1.247 GB, free: 432 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6375/1.279, allocations: 2.045 MB / 1.249 GB, free: 192 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/1.279, allocations: 1.031 kB / 1.249 GB, free: 192 MB / 0.9981 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.009075/1.288, allocations: 2.431 MB / 1.251 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/1.288, allocations: 7.156 kB / 1.251 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/1.288, allocations: 2.75 kB / 1.251 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005979/1.289, allocations: 84.31 kB / 1.251 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002379/1.291, allocations: 419.3 kB / 1.252 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/1.294, allocations: 1.656 MB / 1.253 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002763/1.297, allocations: 271.9 kB / 1.254 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002983/1.297, allocations: 62.53 kB / 1.254 GB, free: 190.5 MB / 0.9981 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.001293/1.298, allocations: 358.4 kB / 1.254 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006367/1.299, allocations: 114.1 kB / 1.254 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009476/1.308, allocations: 2.886 MB / 1.257 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/1.308, allocations: 13.69 kB / 1.257 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.726e-05/1.308, allocations: 8.219 kB / 1.257 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.658e-05/1.308, allocations: 7.641 kB / 1.257 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003243/1.312, allocations: 1.822 MB / 1.259 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/1.312, allocations: 0 / 1.259 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002357/1.314, allocations: 405.9 kB / 1.259 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005169/1.315, allocations: 74.23 kB / 1.259 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002119/1.315, allocations: 50.39 kB / 1.259 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/1.317, allocations: 1.677 MB / 1.261 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.317, allocations: 0 / 1.261 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009184/1.326, allocations: 2.576 MB / 1.263 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/1.327, allocations: 471.1 kB / 1.264 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005735/1.328, allocations: 31.67 kB / 1.264 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002529/1.33, allocations: 230.7 kB / 1.264 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004076/1.331, allocations: 99.69 kB / 1.264 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002995/1.331, allocations: 69.14 kB / 1.264 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001625/1.333, allocations: 0.5864 MB / 1.265 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.21e-07/1.333, allocations: 0 / 1.265 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002212/1.335, allocations: 0.507 MB / 1.265 GB, free: 188.1 MB / 0.9981 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.01199/1.347, allocations: 3.667 MB / 1.269 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01138/1.359, allocations: 3.079 MB / 1.272 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/1.359, allocations: 1.25 kB / 1.272 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004977/1.364, allocations: 1.397 MB / 1.273 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002802/1.366, allocations: 356.8 kB / 1.274 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0379/1.404, allocations: 13.18 MB / 1.286 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/1.406, allocations: 1.196 MB / 1.288 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002857/1.409, allocations: 490.4 kB / 1.288 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/1.41, allocations: 0.5755 MB / 1.289 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.313e-06/1.41, allocations: 3.969 kB / 1.289 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07102/1.481, allocations: 32.88 MB / 1.321 GB, free: 149.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/13.49, allocations: 9.562 kB / 1.321 GB, free: 149.8 MB / 0.9981 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/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)