Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.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.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_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.001105/0.001105, 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.001041/0.001041, allocations: 195.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.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.195/2.195, allocations: 390.2 MB / 0.6647 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001287, allocations: 67.89 kB / 0.8127 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5276/0.5289, allocations: 140.4 MB / 0.9497 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.005282/0.5342, allocations: 5.062 MB / 0.9547 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.14/0.6743, allocations: 151.5 MB / 1.103 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009057/0.6752, allocations: 19.88 kB / 1.103 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006736/0.6759, allocations: 194.2 kB / 1.103 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.6777, allocations: 0.5937 MB / 1.103 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.6797, allocations: 0.991 MB / 1.104 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001339/0.681, allocations: 1.773 MB / 1.106 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009384/0.682, allocations: 0.8702 MB / 1.107 GB, free: 140 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006369/0.6826, allocations: 0.6813 MB / 1.108 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006726/0.6833, allocations: 0.7522 MB / 1.108 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002013/0.6835, allocations: 176 kB / 1.109 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008928/0.6844, allocations: 0.6441 MB / 1.109 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003221/0.6847, allocations: 438.7 kB / 1.11 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005351/0.6853, allocations: 0.7618 MB / 1.11 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001833/0.6871, allocations: 2.193 MB / 1.112 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.6871, allocations: 0 / 1.112 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6871, allocations: 0 / 1.112 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.6872, allocations: 0 / 1.112 GB, free: 10.49 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.002948/0.6901, allocations: 1.825 MB / 1.114 GB, free: 8.609 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.6902, allocations: 8.031 kB / 1.114 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001963/0.6904, allocations: 190 kB / 1.114 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1065/0.7969, allocations: 15.38 MB / 1.129 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002338/0.7992, allocations: 1.199 MB / 1.131 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.56e-05/0.7993, allocations: 94.47 kB / 1.131 GB, free: 7.664 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005821/0.7999, allocations: 124 kB / 1.131 GB, free: 7.543 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03472/0.8347, allocations: 7.685 MB / 1.138 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.8347, allocations: 0 / 1.138 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000408/0.8351, allocations: 52 kB / 1.138 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.8352, allocations: 28 kB / 1.138 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06615/0.9013, allocations: 13.58 MB / 1.152 GB, free: 2.102 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04022/0.9416, allocations: 9.536 MB / 1.161 GB, free: 8.473 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03922/0.9808, allocations: 7.902 MB / 1.169 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03191/1.013, allocations: 6.195 MB / 1.175 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005185/1.013, allocations: 0.6021 MB / 1.175 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03328/1.047, allocations: 6.753 MB / 1.182 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=113): time 3.697e-06/1.047, allocations: 3.938 kB / 1.182 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of matching and sorting (n=113): time 0.09663/1.143, allocations: 18.17 MB / 1.2 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.964e-05/1.143, allocations: 192.9 kB / 1.2 GB, free: 392 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/1.144, allocations: 0.7629 MB / 1.201 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.000311/1.145, allocations: 49.7 kB / 1.201 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/1.145, allocations: 0.5003 MB / 1.201 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005153/1.146, allocations: 366.7 kB / 1.202 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009867/1.147, allocations: 354.5 kB / 1.202 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001056/1.147, allocations: 341.9 kB / 1.202 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03201/1.179, allocations: 6.295 MB / 1.208 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03174/1.211, allocations: 6.44 MB / 1.215 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0588/1.269, allocations: 10.9 MB / 1.225 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.269, allocations: 0 / 1.225 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.06377/1.333, allocations: 12.21 MB / 1.237 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/1.333, allocations: 7.984 kB / 1.237 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.333, allocations: 4 kB / 1.237 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005729/1.334, allocations: 80.84 kB / 1.237 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01822/1.352, allocations: 2.667 MB / 1.24 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/1.354, allocations: 1.628 MB / 1.241 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01739/1.371, allocations: 2.462 MB / 1.244 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003678/1.372, allocations: 99.81 kB / 1.244 GB, free: 2.949 MB / 0.9981 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.solAzi.outsidePolarCircle,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,incAng.decAng.tNext,$PRE.incAng.decAng.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 (132): * Single equations (assignments): 131 * 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.0009666/1.373, allocations: 319.5 kB / 1.244 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000548/1.373, allocations: 102.7 kB / 1.244 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4499/1.823, allocations: 12.73 MB / 1.257 GB, free: 286.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/1.823, allocations: 14.31 kB / 1.257 GB, free: 286.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/1.823, allocations: 0 / 1.257 GB, free: 286.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/1.823, allocations: 7.969 kB / 1.257 GB, free: 286.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/1.825, allocations: 1.855 MB / 1.259 GB, free: 285 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/1.825, allocations: 0 / 1.259 GB, free: 285 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0179/1.843, allocations: 2.656 MB / 1.261 GB, free: 283.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004403/1.843, allocations: 74.38 kB / 1.261 GB, free: 283.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002928/1.844, allocations: 94.69 kB / 1.261 GB, free: 283.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/1.845, allocations: 1.653 MB / 1.263 GB, free: 282.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/1.845, allocations: 2.031 kB / 1.263 GB, free: 282.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06437/1.91, allocations: 12.08 MB / 1.275 GB, free: 276 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/1.911, allocations: 0.6684 MB / 1.275 GB, free: 275.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004455/1.911, allocations: 29.27 kB / 1.275 GB, free: 275.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01717/1.928, allocations: 2.407 MB / 1.278 GB, free: 274.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/1.929, allocations: 101.5 kB / 1.278 GB, free: 274.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002629/1.929, allocations: 99.62 kB / 1.278 GB, free: 274.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005515/1.929, allocations: 0.5425 MB / 1.279 GB, free: 273.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.929, allocations: 2.125 kB / 1.279 GB, free: 273.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001515/1.931, allocations: 0.709 MB / 1.279 GB, free: 273.8 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 127 * 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.06319/1.994, allocations: 13.19 MB / 1.292 GB, free: 261.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.06401/2.058, allocations: 13.25 MB / 1.305 GB, free: 248.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/2.058, allocations: 0 / 1.305 GB, free: 248.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.03123/2.089, allocations: 6.513 MB / 1.311 GB, free: 242 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/2.091, allocations: 323.6 kB / 1.312 GB, free: 241.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1964/2.287, allocations: 43.82 MB / 1.355 GB, free: 197.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/2.288, allocations: 1.147 MB / 1.356 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003439/2.291, allocations: 0.7272 MB / 1.356 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001718/2.293, allocations: 0.6317 MB / 1.357 GB, free: 195 MB / 0.9981 GB Notification: Performance of SimCode: time 1.363e-06/2.293, allocations: 0 / 1.357 GB, free: 195 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9755/3.269, allocations: 46.01 MB / 1.402 GB, free: 149.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/15.19, allocations: 13.41 kB / 1.402 GB, free: 149.3 MB / 0.9981 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1)