Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Overhang,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang",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.005019/0.005019, allocations: 99.06 kB / 15.73 MB, free: 6.496 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.001378/0.001378, allocations: 204.2 kB / 16.68 MB, free: 6.375 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.547/2.547, allocations: 482.6 MB / 0.755 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 63.84 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2655, allocations: 162.3 MB / 1.242 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.007454/0.273, allocations: 6.571 MB / 1.248 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6328/0.9058, allocations: 152 MB / 1.397 GB, free: 14.82 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007868/0.9066, allocations: 25.75 kB / 1.397 GB, free: 14.81 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005605/0.9072, allocations: 245.7 kB / 1.397 GB, free: 14.59 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.9089, allocations: 0.7007 MB / 1.398 GB, free: 14.06 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.911, allocations: 1.049 MB / 1.399 GB, free: 13.26 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00198/0.913, allocations: 2.151 MB / 1.401 GB, free: 11.92 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.9141, allocations: 0.9342 MB / 1.402 GB, free: 11.36 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009285/0.9151, allocations: 0.7794 MB / 1.402 GB, free: 10.89 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009056/0.916, allocations: 0.862 MB / 1.403 GB, free: 10.28 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002427/0.9162, allocations: 208.6 kB / 1.403 GB, free: 10.28 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.9174, allocations: 0.7094 MB / 1.404 GB, free: 10.02 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004034/0.9178, allocations: 487.9 kB / 1.405 GB, free: 9.629 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007749/0.9186, allocations: 0.8987 MB / 1.406 GB, free: 8.973 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002635/0.9212, allocations: 2.637 MB / 1.408 GB, free: 7.051 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.9212, allocations: 4 kB / 1.408 GB, free: 7.047 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9212, allocations: 1.125 kB / 1.408 GB, free: 7.047 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.9213, allocations: 4 kB / 1.408 GB, free: 7.043 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.003406/0.9247, allocations: 2.019 MB / 1.41 GB, free: 5.504 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.9247, allocations: 17.5 kB / 1.41 GB, free: 5.5 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002223/0.925, allocations: 201.8 kB / 1.41 GB, free: 5.34 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1038/1.029, allocations: 15.4 MB / 1.425 GB, free: 10.98 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00263/1.031, allocations: 1.407 MB / 1.427 GB, free: 9.531 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.406e-05/1.032, allocations: 108.9 kB / 1.427 GB, free: 9.426 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003783/1.032, allocations: 139.9 kB / 1.427 GB, free: 9.289 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03634/1.068, allocations: 8.049 MB / 1.435 GB, free: 1.172 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/1.068, allocations: 0 / 1.435 GB, free: 1.172 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003115/1.069, allocations: 56 kB / 1.435 GB, free: 1.117 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.779e-05/1.069, allocations: 36 kB / 1.435 GB, free: 1.082 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06682/1.135, allocations: 14.14 MB / 1.449 GB, free: 2.918 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04329/1.179, allocations: 11.68 MB / 1.46 GB, free: 7.016 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03944/1.218, allocations: 8.283 MB / 1.468 GB, free: 14.72 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03137/1.25, allocations: 6.495 MB / 1.475 GB, free: 8.215 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005796/1.25, allocations: 0.6099 MB / 1.475 GB, free: 7.477 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03319/1.283, allocations: 7.057 MB / 1.482 GB, free: 396 kB / 1.17 GB Notification: Performance of pre-optimization done (n=115): time 3.778e-06/1.284, allocations: 0 / 1.482 GB, free: 396 kB / 1.17 GB Notification: Performance of matching and sorting (n=115): time 0.09922/1.383, allocations: 18.95 MB / 1.501 GB, free: 13.39 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/1.383, allocations: 192.9 kB / 1.501 GB, free: 13.16 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/1.384, allocations: 0.8178 MB / 1.502 GB, free: 12.33 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0005089/1.385, allocations: 49.7 kB / 1.502 GB, free: 12.28 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005179/1.385, allocations: 0.5599 MB / 1.502 GB, free: 11.71 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000746/1.386, allocations: 388.7 kB / 1.502 GB, free: 11.33 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001395/1.387, allocations: 358.5 kB / 1.503 GB, free: 10.97 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001579/1.388, allocations: 349.9 kB / 1.503 GB, free: 10.62 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03345/1.421, allocations: 6.549 MB / 1.51 GB, free: 4.066 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03377/1.455, allocations: 6.703 MB / 1.516 GB, free: 13.32 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06063/1.516, allocations: 11.2 MB / 1.527 GB, free: 2.102 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/1.516, allocations: 0 / 1.527 GB, free: 2.102 MB / 1.217 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.06625/1.582, allocations: 12.63 MB / 1.539 GB, free: 5.445 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/1.582, allocations: 4 kB / 1.539 GB, free: 5.441 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/1.582, allocations: 0 / 1.539 GB, free: 5.441 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005803/1.583, allocations: 88.83 kB / 1.539 GB, free: 5.352 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01772/1.6, allocations: 2.675 MB / 1.542 GB, free: 2.672 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/1.602, allocations: 1.651 MB / 1.544 GB, free: 0.8828 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01766/1.62, allocations: 2.461 MB / 1.546 GB, free: 14.42 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005932/1.621, allocations: 99.81 kB / 1.546 GB, free: 14.32 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (ove.ove.solAzi.outsidePolarCircle,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 (134): * Single equations (assignments): 133 * 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.001361/1.622, allocations: 346.1 kB / 1.546 GB, free: 13.97 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007252/1.623, allocations: 119.2 kB / 1.547 GB, free: 13.86 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07117/1.694, allocations: 13.2 MB / 1.559 GB, free: 0.6328 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.497e-05/1.694, allocations: 16 kB / 1.56 GB, free: 0.6172 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.694, allocations: 0 / 1.56 GB, free: 0.6172 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.42e-05/1.694, allocations: 11.91 kB / 1.56 GB, free: 0.6055 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002995/1.697, allocations: 2.466 MB / 1.562 GB, free: 14.09 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/1.697, allocations: 0 / 1.562 GB, free: 14.09 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01754/1.715, allocations: 2.656 MB / 1.565 GB, free: 11.43 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000416/1.715, allocations: 80.72 kB / 1.565 GB, free: 11.34 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003075/1.715, allocations: 94.72 kB / 1.565 GB, free: 11.25 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001844/1.717, allocations: 1.678 MB / 1.566 GB, free: 9.43 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.717, allocations: 0 / 1.566 GB, free: 9.43 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06412/1.781, allocations: 12.57 MB / 1.579 GB, free: 12.82 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/1.783, allocations: 0.8041 MB / 1.579 GB, free: 12 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004166/1.783, allocations: 31.94 kB / 1.579 GB, free: 11.97 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01711/1.8, allocations: 2.403 MB / 1.582 GB, free: 9.562 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/1.8, allocations: 101.2 kB / 1.582 GB, free: 9.465 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003228/1.801, allocations: 107.8 kB / 1.582 GB, free: 9.359 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0007116/1.802, allocations: 0.5809 MB / 1.583 GB, free: 8.785 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.91e-07/1.802, allocations: 0 / 1.583 GB, free: 8.785 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001769/1.803, allocations: 0.7448 MB / 1.583 GB, free: 8.039 MB / 1.279 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 (136): * Single equations (assignments): 129 * 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.06639/1.87, allocations: 13.68 MB / 1.597 GB, free: 10.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.06645/1.936, allocations: 13.42 MB / 1.61 GB, free: 13.05 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/1.936, allocations: 0 / 1.61 GB, free: 13.05 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.03334/1.97, allocations: 6.814 MB / 1.616 GB, free: 6.211 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/1.971, allocations: 353.6 kB / 1.617 GB, free: 5.883 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2016/2.173, allocations: 45.34 MB / 1.661 GB, free: 8.34 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007533/2.174, allocations: 1.186 MB / 1.662 GB, free: 7.125 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.002989/2.176, allocations: 0.7354 MB / 1.663 GB, free: 6.387 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001939/2.178, allocations: 0.6824 MB / 1.664 GB, free: 5.703 MB / 1.357 GB Notification: Performance of SimCode: time 4.81e-07/2.178, allocations: 4 kB / 1.664 GB, free: 5.699 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 13.68/15.85, allocations: 50.46 MB / 1.713 GB, free: 3.434 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.93/33.79, allocations: 12.64 kB / 1.713 GB, free: 3.422 MB / 1.404 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1)