Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_11_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.0046/0.0046, allocations: 95.44 kB / 15.73 MB, free: 6.051 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.00136/0.00136, allocations: 203.2 kB / 16.68 MB, free: 5.973 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.562/2.562, allocations: 469.8 MB / 0.7425 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 67.84 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2574, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007242/0.2647, allocations: 6.247 MB / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6268/0.8915, allocations: 151.5 MB / 1.374 GB, free: 9.352 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007483/0.8923, allocations: 18.53 kB / 1.374 GB, free: 9.348 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005919/0.8929, allocations: 237.9 kB / 1.374 GB, free: 9.191 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.8946, allocations: 0.6921 MB / 1.375 GB, free: 8.781 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.8964, allocations: 0.9969 MB / 1.376 GB, free: 8.25 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001626/0.898, allocations: 2.063 MB / 1.378 GB, free: 7.188 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.899, allocations: 0.8621 MB / 1.379 GB, free: 6.734 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007018/0.8997, allocations: 0.7268 MB / 1.38 GB, free: 6.371 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007882/0.9005, allocations: 0.7911 MB / 1.38 GB, free: 5.961 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002112/0.9008, allocations: 195.8 kB / 1.381 GB, free: 5.957 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009452/0.9017, allocations: 0.6712 MB / 1.381 GB, free: 5.746 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003891/0.9021, allocations: 473.8 kB / 1.382 GB, free: 5.379 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007266/0.9028, allocations: 0.8669 MB / 1.383 GB, free: 4.742 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002386/0.9052, allocations: 2.48 MB / 1.385 GB, free: 2.945 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.9052, allocations: 0 / 1.385 GB, free: 2.945 MB / 1.076 GB Notification: Performance of FrontEnd: time 9.72e-07/0.9053, allocations: 0 / 1.385 GB, free: 2.945 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.567e-05/0.9053, allocations: 0 / 1.385 GB, free: 2.945 MB / 1.076 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.003118/0.9084, allocations: 1.959 MB / 1.387 GB, free: 1.441 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.9084, allocations: 9.656 kB / 1.387 GB, free: 1.441 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002246/0.9087, allocations: 205.6 kB / 1.387 GB, free: 1.277 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008752/0.9174, allocations: 1.297 MB / 1.388 GB, free: 0.6523 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.9191, allocations: 1.061 MB / 1.389 GB, free: 15.8 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.89e-05/0.9192, allocations: 101.7 kB / 1.39 GB, free: 15.76 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/0.9195, allocations: 130.3 kB / 1.39 GB, free: 15.71 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005164/0.9246, allocations: 2.207 MB / 1.392 GB, free: 14.37 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/0.9247, allocations: 5.906 kB / 1.392 GB, free: 14.37 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/0.9248, allocations: 56.56 kB / 1.392 GB, free: 14.32 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.9249, allocations: 32.91 kB / 1.392 GB, free: 14.32 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007703/0.9326, allocations: 2.969 MB / 1.395 GB, free: 12.83 MB / 1.092 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.008604/0.9412, allocations: 5.377 MB / 1.4 GB, free: 8.734 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007822/0.949, allocations: 2.888 MB / 1.403 GB, free: 7.23 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003102/0.9521, allocations: 1.127 MB / 1.404 GB, free: 6.637 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005448/0.9527, allocations: 0.6088 MB / 1.405 GB, free: 5.938 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003553/0.9562, allocations: 1.439 MB / 1.406 GB, free: 5.07 MB / 1.092 GB Notification: Performance of pre-optimization done (n=133): time 4.499e-06/0.9563, allocations: 0 / 1.406 GB, free: 5.07 MB / 1.092 GB Notification: Performance of matching and sorting (n=133): time 0.01085/0.9671, allocations: 3.641 MB / 1.41 GB, free: 2.996 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.9672, allocations: 197.2 kB / 1.41 GB, free: 2.758 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.9683, allocations: 0.8139 MB / 1.411 GB, free: 1.938 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.9684, allocations: 53.69 kB / 1.411 GB, free: 1.879 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004357/0.9688, allocations: 0.5211 MB / 1.411 GB, free: 1.352 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004091/0.9693, allocations: 456.1 kB / 1.412 GB, free: 0.9023 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004903/0.9698, allocations: 258.7 kB / 1.412 GB, free: 0.6445 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.9699, allocations: 349.9 kB / 1.412 GB, free: 304 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003181/0.9731, allocations: 1.033 MB / 1.413 GB, free: 15.26 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003359/0.9765, allocations: 1.183 MB / 1.414 GB, free: 14.05 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006162/0.9826, allocations: 2.045 MB / 1.416 GB, free: 11.99 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.9826, allocations: 4 kB / 1.416 GB, free: 11.98 MB / 1.107 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007397/0.9901, allocations: 2.433 MB / 1.419 GB, free: 9.539 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.9901, allocations: 8 kB / 1.419 GB, free: 9.531 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.9901, allocations: 0 / 1.419 GB, free: 9.531 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005644/0.9907, allocations: 92.39 kB / 1.419 GB, free: 9.441 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002302/0.993, allocations: 419.3 kB / 1.419 GB, free: 9.031 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.995, allocations: 1.648 MB / 1.421 GB, free: 7.242 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/0.9971, allocations: 285.3 kB / 1.421 GB, free: 6.965 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.9972, allocations: 63.92 kB / 1.421 GB, free: 6.902 MB / 1.107 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.0006486/0.9979, allocations: 348.2 kB / 1.421 GB, free: 6.551 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002777/0.9982, allocations: 127.2 kB / 1.422 GB, free: 6.426 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008241/1.006, allocations: 2.878 MB / 1.424 GB, free: 3.531 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/1.006, allocations: 16 kB / 1.424 GB, free: 3.516 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/1.006, allocations: 3.938 kB / 1.424 GB, free: 3.512 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/1.006, allocations: 7.969 kB / 1.424 GB, free: 3.504 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/1.009, allocations: 1.82 MB / 1.426 GB, free: 1.633 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.009, allocations: 0 / 1.426 GB, free: 1.633 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002251/1.011, allocations: 415.4 kB / 1.427 GB, free: 1.227 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004099/1.011, allocations: 72.78 kB / 1.427 GB, free: 1.152 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/1.011, allocations: 47.94 kB / 1.427 GB, free: 1.105 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/1.013, allocations: 1.686 MB / 1.428 GB, free: 15.27 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.013, allocations: 0 / 1.428 GB, free: 15.27 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007375/1.021, allocations: 2.581 MB / 1.431 GB, free: 12.66 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006385/1.021, allocations: 471.7 kB / 1.431 GB, free: 12.18 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/1.021, allocations: 28 kB / 1.431 GB, free: 12.16 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001911/1.023, allocations: 232.4 kB / 1.432 GB, free: 11.93 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/1.024, allocations: 105.1 kB / 1.432 GB, free: 11.83 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/1.024, allocations: 63.94 kB / 1.432 GB, free: 11.77 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007327/1.024, allocations: 0.5849 MB / 1.432 GB, free: 11.19 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.024, allocations: 0 / 1.432 GB, free: 11.19 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001192/1.026, allocations: 0.5105 MB / 1.433 GB, free: 10.68 MB / 1.123 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.009548/1.035, allocations: 3.68 MB / 1.436 GB, free: 7.16 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.007069/1.042, allocations: 2.504 MB / 1.439 GB, free: 4.641 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.042, allocations: 4 kB / 1.439 GB, free: 4.637 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.00368/1.046, allocations: 1.388 MB / 1.44 GB, free: 3.238 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/1.047, allocations: 353.2 kB / 1.44 GB, free: 2.906 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02829/1.076, allocations: 12.77 MB / 1.453 GB, free: 5.98 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007891/1.077, allocations: 1.193 MB / 1.454 GB, free: 4.758 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001542/1.078, allocations: 493.4 kB / 1.455 GB, free: 4.273 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/1.079, allocations: 0.585 MB / 1.455 GB, free: 3.688 MB / 1.139 GB Notification: Performance of SimCode: time 5.01e-07/1.079, allocations: 0 / 1.455 GB, free: 3.688 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4028/1.482, allocations: 33.2 MB / 1.488 GB, free: 2.797 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.07/24.55, allocations: 18.28 kB / 1.488 GB, free: 2.781 MB / 1.17 GB (rm -f Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1)