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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.001018/0.001018, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009734/0.0009734, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 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: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.553/2.553, allocations: 409.2 MB / 0.6838 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.000403, allocations: 12 kB / 0.8375 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8049/0.8053, allocations: 146.8 MB / 0.9809 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.005922/0.8113, allocations: 4.491 MB / 0.9852 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1506/0.962, allocations: 128.1 MB / 1.11 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.9631, allocations: 19.88 kB / 1.11 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005337/0.9637, allocations: 95.11 kB / 1.11 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001916/0.9656, allocations: 0.5741 MB / 1.111 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002362/0.968, allocations: 0.7748 MB / 1.112 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001729/0.9697, allocations: 1.154 MB / 1.113 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.9709, allocations: 0.7587 MB / 1.114 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008293/0.9717, allocations: 0.5057 MB / 1.114 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006885/0.9724, allocations: 0.5404 MB / 1.115 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.9725, allocations: 47.94 kB / 1.115 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00097/0.9735, allocations: 451.5 kB / 1.115 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000288/0.9738, allocations: 282.8 kB / 1.115 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00027/0.9741, allocations: 276.9 kB / 1.116 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001939/0.976, allocations: 1.863 MB / 1.117 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.9761, allocations: 0 / 1.117 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.848e-06/0.9761, allocations: 0 / 1.117 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.146e-05/0.9761, allocations: 3.938 kB / 1.117 GB, free: 10.02 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: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.003228/0.9793, allocations: 1.624 MB / 1.119 GB, free: 8.34 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.9794, allocations: 8.031 kB / 1.119 GB, free: 8.332 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002611/0.9796, allocations: 206.7 kB / 1.119 GB, free: 8.121 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1123/1.092, allocations: 20.93 MB / 1.14 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003092/1.095, allocations: 1.356 MB / 1.141 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/1.095, allocations: 106.7 kB / 1.141 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004374/1.096, allocations: 136 kB / 1.141 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03805/1.134, allocations: 9.701 MB / 1.151 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/1.134, allocations: 0 / 1.151 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004626/1.134, allocations: 60 kB / 1.151 GB, free: 7.699 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/1.134, allocations: 32 kB / 1.151 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07355/1.208, allocations: 17.48 MB / 1.168 GB, free: 6.16 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04864/1.257, allocations: 12.9 MB / 1.18 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04159/1.298, allocations: 9.99 MB / 1.19 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007266/1.299, allocations: 0.6062 MB / 1.191 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03524/1.334, allocations: 8.733 MB / 1.199 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=115): time 3.677e-06/1.334, allocations: 0 / 1.199 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of matching and sorting (n=115): time 0.1031/1.437, allocations: 23.86 MB / 1.223 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/1.438, allocations: 196.9 kB / 1.223 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/1.439, allocations: 0.81 MB / 1.224 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0007406/1.44, allocations: 45.7 kB / 1.224 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006307/1.44, allocations: 0.5432 MB / 1.224 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006282/1.441, allocations: 374.6 kB / 1.225 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002588/1.441, allocations: 20 kB / 1.225 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001685/1.441, allocations: 349.9 kB / 1.225 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03447/1.476, allocations: 8.221 MB / 1.233 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.035/1.511, allocations: 8.366 MB / 1.241 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03283/1.544, allocations: 7.175 MB / 1.248 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/1.544, allocations: 0 / 1.248 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.7518/2.296, allocations: 15.86 MB / 1.264 GB, free: 266.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/2.296, allocations: 8.766 kB / 1.264 GB, free: 266.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/2.296, allocations: 5.438 kB / 1.264 GB, free: 266.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006061/2.296, allocations: 83.38 kB / 1.264 GB, free: 266.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01886/2.315, allocations: 3.542 MB / 1.267 GB, free: 265.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/2.317, allocations: 1.557 MB / 1.269 GB, free: 264.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01864/2.336, allocations: 3.329 MB / 1.272 GB, free: 261.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006825/2.337, allocations: 111.8 kB / 1.272 GB, free: 261.7 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 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.tNext,ove.ove.solAzi.outsidePolarCircle) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001191/2.338, allocations: 336.9 kB / 1.272 GB, free: 261.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000485/2.338, allocations: 110.1 kB / 1.272 GB, free: 261.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06622/2.405, allocations: 16.46 MB / 1.289 GB, free: 244.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/2.405, allocations: 12 kB / 1.289 GB, free: 244.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/2.405, allocations: 0 / 1.289 GB, free: 244.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/2.405, allocations: 7.969 kB / 1.289 GB, free: 244.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002734/2.408, allocations: 2.463 MB / 1.291 GB, free: 242.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/2.408, allocations: 0 / 1.291 GB, free: 242.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01836/2.426, allocations: 3.527 MB / 1.294 GB, free: 238.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005762/2.427, allocations: 84.77 kB / 1.295 GB, free: 238.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006526/2.427, allocations: 95.81 kB / 1.295 GB, free: 238.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/2.429, allocations: 1.576 MB / 1.296 GB, free: 236.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/2.429, allocations: 0 / 1.296 GB, free: 236.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06584/2.495, allocations: 15.8 MB / 1.312 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001931/2.497, allocations: 0.8159 MB / 1.312 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005571/2.497, allocations: 28 kB / 1.312 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01763/2.515, allocations: 3.29 MB / 1.316 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002465/2.515, allocations: 99.64 kB / 1.316 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005238/2.516, allocations: 107.8 kB / 1.316 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007868/2.517, allocations: 0.5693 MB / 1.316 GB, free: 216.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/2.517, allocations: 0 / 1.316 GB, free: 216.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002178/2.519, allocations: 0.7199 MB / 1.317 GB, free: 215.5 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,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.06719/2.586, allocations: 16.89 MB / 1.334 GB, free: 198.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.06724/2.653, allocations: 16.78 MB / 1.35 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.378e-05/2.653, allocations: 0 / 1.35 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.03358/2.687, allocations: 8.487 MB / 1.358 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/2.689, allocations: 272.5 kB / 1.358 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03972/2.728, allocations: 11.89 MB / 1.37 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005941/2.729, allocations: 1.215 MB / 1.371 GB, free: 160 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003701/2.733, allocations: 0.7469 MB / 1.372 GB, free: 159.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001866/2.735, allocations: 0.6708 MB / 1.373 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/2.735, allocations: 0 / 1.373 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06914/2.804, allocations: 47.93 MB / 1.419 GB, free: 110.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003036/2.804, allocations: 254.1 kB / 1.42 GB, free: 110.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.2/6.004, allocations: 0 / 1.42 GB, free: 110.6 MB / 0.9981 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/linux/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=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat does not exist to compare? outputFormat=mat