Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.Overhang,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_9_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.005715/0.005714, allocations: 100.9 kB / 15.73 MB, free: 5.988 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.000989/0.000989, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.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.334/2.334, allocations: 390.3 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 66.47 kB / 0.9504 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2492, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.006944/0.2561, allocations: 5.342 MB / 1.093 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1508/0.407, allocations: 151.6 MB / 1.241 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009838/0.408, allocations: 23.88 kB / 1.241 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007707/0.4088, allocations: 194.1 kB / 1.241 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.411, allocations: 0.6089 MB / 1.242 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002455/0.4135, allocations: 1.042 MB / 1.243 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001961/0.4155, allocations: 1.932 MB / 1.244 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.4167, allocations: 0.9943 MB / 1.245 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008315/0.4176, allocations: 0.7552 MB / 1.246 GB, free: 14.84 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007973/0.4184, allocations: 0.8287 MB / 1.247 GB, free: 14.01 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002199/0.4186, allocations: 208 kB / 1.247 GB, free: 13.81 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.4197, allocations: 0.6987 MB / 1.248 GB, free: 13.11 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000389/0.4201, allocations: 490.6 kB / 1.248 GB, free: 12.63 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006828/0.4208, allocations: 0.863 MB / 1.249 GB, free: 11.76 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002406/0.4232, allocations: 2.56 MB / 1.252 GB, free: 9.195 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4233, allocations: 0 / 1.252 GB, free: 9.195 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.677e-06/0.4233, allocations: 0 / 1.252 GB, free: 9.195 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.047e-05/0.4233, allocations: 7.938 kB / 1.252 GB, free: 9.188 MB / 1.014 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.00346/0.4268, allocations: 1.928 MB / 1.254 GB, free: 7.203 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.4268, allocations: 8.031 kB / 1.254 GB, free: 7.195 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002346/0.427, allocations: 210.9 kB / 1.254 GB, free: 6.98 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6558/1.083, allocations: 15.38 MB / 1.269 GB, free: 172.9 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003226/1.086, allocations: 1.402 MB / 1.27 GB, free: 172.6 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/1.086, allocations: 107 kB / 1.27 GB, free: 172.6 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006598/1.087, allocations: 134.1 kB / 1.27 GB, free: 172.6 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03939/1.126, allocations: 8.047 MB / 1.278 GB, free: 170.4 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.335e-05/1.126, allocations: 8.906 kB / 1.278 GB, free: 170.4 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003472/1.127, allocations: 57.47 kB / 1.278 GB, free: 170.4 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.271e-05/1.127, allocations: 33.41 kB / 1.278 GB, free: 170.4 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0715/1.198, allocations: 14.14 MB / 1.292 GB, free: 163 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04413/1.243, allocations: 11.1 MB / 1.303 GB, free: 155.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03971/1.282, allocations: 8.283 MB / 1.311 GB, free: 149.1 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03265/1.315, allocations: 6.496 MB / 1.317 GB, free: 142.6 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004319/1.315, allocations: 0.5975 MB / 1.318 GB, free: 141.9 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03397/1.349, allocations: 7.064 MB / 1.325 GB, free: 134.8 MB / 1.014 GB Notification: Performance of pre-optimization done (n=115): time 3.457e-06/1.349, allocations: 0 / 1.325 GB, free: 134.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=115): time 0.09768/1.447, allocations: 18.95 MB / 1.343 GB, free: 115.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/1.447, allocations: 196.9 kB / 1.344 GB, free: 115.6 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009124/1.448, allocations: 0.81 MB / 1.344 GB, free: 114.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0005393/1.449, allocations: 49.7 kB / 1.344 GB, free: 114.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/1.449, allocations: 0.5475 MB / 1.345 GB, free: 114.1 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004163/1.449, allocations: 369.7 kB / 1.345 GB, free: 113.8 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009/1.45, allocations: 362.4 kB / 1.346 GB, free: 113.4 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 5.629e-05/1.45, allocations: 349.9 kB / 1.346 GB, free: 113.1 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03176/1.482, allocations: 6.545 MB / 1.352 GB, free: 106.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03201/1.514, allocations: 6.694 MB / 1.359 GB, free: 99.77 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05996/1.574, allocations: 11.2 MB / 1.37 GB, free: 88.55 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/1.574, allocations: 1.031 kB / 1.37 GB, free: 88.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.06326/1.637, allocations: 12.62 MB / 1.382 GB, free: 75.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/1.638, allocations: 9.562 kB / 1.382 GB, free: 75.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/1.638, allocations: 0 / 1.382 GB, free: 75.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005381/1.638, allocations: 80.84 kB / 1.382 GB, free: 75.81 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.018/1.656, allocations: 2.675 MB / 1.385 GB, free: 73.13 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1837/1.84, allocations: 1.648 MB / 1.386 GB, free: 71.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02676/1.867, allocations: 2.46 MB / 1.389 GB, free: 68.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006866/1.867, allocations: 99.81 kB / 1.389 GB, free: 68.78 MB / 1.014 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.0014/1.869, allocations: 343.3 kB / 1.389 GB, free: 68.43 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007193/1.869, allocations: 110.6 kB / 1.389 GB, free: 68.32 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07013/1.94, allocations: 13.2 MB / 1.402 GB, free: 55.11 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/1.94, allocations: 12.55 kB / 1.402 GB, free: 55.09 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.94, allocations: 1.406 kB / 1.402 GB, free: 55.09 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/1.94, allocations: 3.984 kB / 1.402 GB, free: 55.09 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/1.942, allocations: 2.487 MB / 1.405 GB, free: 52.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/1.942, allocations: 4 kB / 1.405 GB, free: 52.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01766/1.96, allocations: 2.652 MB / 1.407 GB, free: 49.94 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004698/1.96, allocations: 76.73 kB / 1.407 GB, free: 49.86 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004908/1.961, allocations: 95.8 kB / 1.408 GB, free: 49.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/1.962, allocations: 1.665 MB / 1.409 GB, free: 47.96 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.962, allocations: 4 kB / 1.409 GB, free: 47.95 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06289/2.025, allocations: 12.56 MB / 1.421 GB, free: 35.36 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/2.027, allocations: 0.8111 MB / 1.422 GB, free: 34.53 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003983/2.027, allocations: 27.98 kB / 1.422 GB, free: 34.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01684/2.044, allocations: 2.398 MB / 1.425 GB, free: 32.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/2.044, allocations: 105.2 kB / 1.425 GB, free: 31.99 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003798/2.044, allocations: 103.8 kB / 1.425 GB, free: 31.89 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006251/2.045, allocations: 0.5849 MB / 1.425 GB, free: 31.31 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/2.045, allocations: 0 / 1.425 GB, free: 31.31 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001686/2.047, allocations: 0.717 MB / 1.426 GB, free: 30.61 MB / 1.014 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.0659/2.113, allocations: 13.66 MB / 1.439 GB, free: 17.16 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.06652/2.179, allocations: 13.43 MB / 1.452 GB, free: 3.703 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/2.179, allocations: 7.688 kB / 1.452 GB, free: 3.699 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.03373/2.213, allocations: 6.814 MB / 1.459 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/2.215, allocations: 335 kB / 1.459 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2186/2.433, allocations: 45.44 MB / 1.504 GB, free: 14.95 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007798/2.434, allocations: 1.191 MB / 1.505 GB, free: 13.73 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00361/2.438, allocations: 0.7313 MB / 1.506 GB, free: 13 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002023/2.44, allocations: 0.6786 MB / 1.506 GB, free: 12.32 MB / 1.076 GB Notification: Performance of SimCode: time 9.92e-07/2.44, allocations: 0 / 1.506 GB, free: 12.32 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.577/4.017, allocations: 49.95 MB / 1.555 GB, free: 10.45 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.21/20.23, allocations: 8.344 kB / 1.555 GB, free: 10.45 MB / 1.123 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_Examples_Overhang.fmu > Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1)