Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_10_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.001508/0.001508, 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.002451/0.002451, allocations: 192.5 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.263/1.263, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.498/2.498, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 59.89 kB / 0.8693 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5889/0.5902, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008601/0.5989, allocations: 6.272 MB / 1.024 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1513/0.7503, allocations: 151.5 MB / 1.172 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.7515, allocations: 15.94 kB / 1.172 GB, free: 4.086 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007154/0.7523, allocations: 241.7 kB / 1.172 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.7542, allocations: 0.6987 MB / 1.172 GB, free: 3.148 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002267/0.7565, allocations: 0.986 MB / 1.173 GB, free: 2.168 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001764/0.7583, allocations: 2.052 MB / 1.175 GB, free: 112 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.7594, allocations: 0.8563 MB / 1.176 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008653/0.7603, allocations: 0.732 MB / 1.177 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000795/0.7611, allocations: 0.8029 MB / 1.178 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002228/0.7613, allocations: 192 kB / 1.178 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.7624, allocations: 0.6479 MB / 1.179 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003642/0.7628, allocations: 478.6 kB / 1.179 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006844/0.7634, allocations: 0.8515 MB / 1.18 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002168/0.7656, allocations: 2.415 MB / 1.182 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.7656, allocations: 4 kB / 1.182 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7656, allocations: 0 / 1.182 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.666e-05/0.7657, allocations: 0 / 1.182 GB, free: 9.09 MB / 0.9356 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.003105/0.7688, allocations: 1.91 MB / 1.184 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.7688, allocations: 12.03 kB / 1.184 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002066/0.769, allocations: 202.6 kB / 1.184 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009078/0.7781, allocations: 1.29 MB / 1.186 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.7797, allocations: 1.035 MB / 1.187 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.728e-05/0.7798, allocations: 98.66 kB / 1.187 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000213/0.78, allocations: 132 kB / 1.187 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005069/0.7851, allocations: 2.213 MB / 1.189 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.7851, allocations: 0 / 1.189 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/0.7853, allocations: 56 kB / 1.189 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.891e-05/0.7853, allocations: 32 kB / 1.189 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008168/0.7935, allocations: 2.968 MB / 1.192 GB, free: 14.96 MB / 0.9512 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.01032/0.8038, allocations: 5.408 MB / 1.197 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00838/0.8122, allocations: 2.872 MB / 1.2 GB, free: 6.527 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003185/0.8154, allocations: 1.126 MB / 1.201 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005746/0.816, allocations: 0.6183 MB / 1.202 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003721/0.8197, allocations: 1.446 MB / 1.203 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=133): time 5.1e-06/0.8198, allocations: 4 kB / 1.203 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of matching and sorting (n=133): time 0.01141/0.8312, allocations: 3.621 MB / 1.207 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.874e-05/0.8313, allocations: 201.2 kB / 1.207 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.8324, allocations: 0.81 MB / 1.208 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001425/0.8326, allocations: 49.7 kB / 1.208 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004011/0.833, allocations: 0.5201 MB / 1.208 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003814/0.8334, allocations: 429.6 kB / 1.209 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004809/0.8339, allocations: 254.7 kB / 1.209 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.834, allocations: 361.8 kB / 1.209 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003188/0.8372, allocations: 1.037 MB / 1.21 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003351/0.8405, allocations: 1.175 MB / 1.211 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006242/0.8468, allocations: 2.044 MB / 1.213 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.8468, allocations: 0 / 1.213 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007569/0.8544, allocations: 2.428 MB / 1.216 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.8544, allocations: 8 kB / 1.216 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.8544, allocations: 0 / 1.216 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006174/0.8551, allocations: 80.84 kB / 1.216 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/0.8575, allocations: 427.3 kB / 1.216 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/0.8595, allocations: 1.665 MB / 1.218 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/0.8617, allocations: 278.6 kB / 1.218 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/0.8619, allocations: 55.94 kB / 1.218 GB, free: 3.453 MB / 0.9669 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.0007321/0.8626, allocations: 360.6 kB / 1.218 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003608/0.863, allocations: 122.5 kB / 1.219 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008532/0.8715, allocations: 2.872 MB / 1.221 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.8716, allocations: 16 kB / 1.221 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.8716, allocations: 7.984 kB / 1.221 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.8716, allocations: 7.969 kB / 1.221 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002241/0.8738, allocations: 1.835 MB / 1.223 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.8739, allocations: 0 / 1.223 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002288/0.8762, allocations: 411.4 kB / 1.224 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004543/0.8766, allocations: 72.78 kB / 1.224 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/0.8768, allocations: 51.94 kB / 1.224 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/0.8786, allocations: 1.67 MB / 1.225 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.8786, allocations: 4.031 kB / 1.225 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008063/0.8867, allocations: 2.576 MB / 1.228 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007964/0.8875, allocations: 467.1 kB / 1.228 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002836/0.8878, allocations: 35.94 kB / 1.228 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002129/0.8899, allocations: 225.5 kB / 1.229 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002056/0.8901, allocations: 101.2 kB / 1.229 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001528/0.8903, allocations: 71.92 kB / 1.229 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008195/0.8911, allocations: 0.5849 MB / 1.229 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8911, allocations: 0 / 1.229 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001669/0.8928, allocations: 0.5028 MB / 1.23 GB, free: 7.234 MB / 0.9825 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.01018/0.903, allocations: 3.667 MB / 1.233 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00968/0.9127, allocations: 3.082 MB / 1.236 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.9128, allocations: 0 / 1.236 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004074/0.9168, allocations: 1.392 MB / 1.238 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/0.9188, allocations: 353.6 kB / 1.238 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03085/0.9496, allocations: 13.18 MB / 1.251 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009479/0.9506, allocations: 1.191 MB / 1.252 GB, free: 180 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.4504/1.401, allocations: 487.3 kB / 1.253 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/1.402, allocations: 0.5822 MB / 1.253 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of SimCode: time 8.42e-07/1.402, allocations: 0 / 1.253 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8398/2.242, allocations: 32.88 MB / 1.285 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/14.27, allocations: 12.67 kB / 1.285 GB, free: 217.4 MB / 0.9981 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1)