Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.649/1.649, allocations: 288.4 MB / 303.6 MB, free: 8.113 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000955/0.000955, allocations: 186.9 kB / 372.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.4 MB / 0.631 GB, free: 9.84 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006959/0.0006958, allocations: 102.2 kB / 0.7444 GB, free: 5.754 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.0003361, allocations: 16.97 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1592, allocations: 115.3 MB / 0.9802 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.002092/0.1613, allocations: 2.523 MB / 0.9827 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.1624, allocations: 0.7996 MB / 0.9834 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.1626, allocations: 11.94 kB / 0.9835 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.1628, allocations: 31.64 kB / 0.9835 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.163, allocations: 123.1 kB / 0.9836 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.1633, allocations: 117 kB / 0.9837 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003628/0.1637, allocations: 478.9 kB / 0.9842 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.164, allocations: 186 kB / 0.9843 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.1641, allocations: 147.4 kB / 0.9845 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.1643, allocations: 179.2 kB / 0.9847 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.67e-05/0.1644, allocations: 19.94 kB / 0.9847 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.396e-05/0.1644, allocations: 19.94 kB / 0.9847 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.1645, allocations: 63.69 kB / 0.9848 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.1646, allocations: 204.7 kB / 0.9849 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.1648, allocations: 307.4 kB / 0.9852 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1648, allocations: 0 / 0.9852 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1649, allocations: 0 / 0.9852 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.1649, allocations: 4 kB / 0.9852 GB, free: 21.98 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.000865/0.1657, allocations: 0.6744 MB / 0.9859 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.1658, allocations: 16.03 kB / 0.9859 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.906e-05/0.1658, allocations: 70.72 kB / 0.986 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.592e-05/0.1659, allocations: 52.38 kB / 0.986 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.1662, allocations: 315.3 kB / 0.9863 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.1662, allocations: 25.38 kB / 0.9864 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.1663, allocations: 40.31 kB / 0.9864 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004913/0.1668, allocations: 385.1 kB / 0.9868 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1668, allocations: 3.938 kB / 0.9868 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.1668, allocations: 16 kB / 0.9868 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-06/0.1668, allocations: 12 kB / 0.9868 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004413/0.1673, allocations: 282.3 kB / 0.9871 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.1686, allocations: 1.456 MB / 0.9885 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004532/0.1691, allocations: 297.8 kB / 0.9888 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.1694, allocations: 181.2 kB / 0.9889 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.1695, allocations: 4.234 kB / 0.989 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.228e-05/0.1695, allocations: 38.73 kB / 0.989 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 1.293e-06/0.1695, allocations: 0 / 0.989 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.002553/0.172, allocations: 0.8991 MB / 0.9899 GB, free: 17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.723e-05/0.1721, allocations: 51.41 kB / 0.9899 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.1723, allocations: 365.6 kB / 0.9903 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.1724, allocations: 37.7 kB / 0.9903 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.066e-05/0.1724, allocations: 208.3 kB / 0.9905 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.1725, allocations: 94.64 kB / 0.9906 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/0.1725, allocations: 4 kB / 0.9906 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.057e-05/0.1726, allocations: 342.8 kB / 0.9909 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.1728, allocations: 96.5 kB / 0.991 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.173, allocations: 167.9 kB / 0.9912 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/0.1733, allocations: 273.5 kB / 0.9914 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1734, allocations: 4 kB / 0.9914 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009487/0.1743, allocations: 0.4935 MB / 0.9919 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/0.1744, allocations: 125.5 kB / 0.992 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1744, allocations: 0 / 0.992 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006584/0.175, allocations: 186.3 kB / 0.9922 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.1752, allocations: 43.91 kB / 0.9923 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002495/0.1777, allocations: 2.478 MB / 0.9947 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.178, allocations: 39.67 kB / 0.9947 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.178, allocations: 11.94 kB / 0.9947 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.27e-06/0.178, allocations: 4 kB / 0.9947 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008861/0.1789, allocations: 444.4 kB / 0.9952 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-06/0.1789, allocations: 4.156 kB / 0.9952 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000544/0.1795, allocations: 185.2 kB / 0.9953 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.1796, allocations: 43.84 kB / 0.9954 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/0.1818, allocations: 2.375 MB / 0.9977 GB, free: 8.617 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.1821, allocations: 47.72 kB / 0.9977 GB, free: 8.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.1821, allocations: 12 kB / 0.9978 GB, free: 8.559 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.1822, allocations: 225 kB / 0.998 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/0.1823, allocations: 35.53 kB / 0.998 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.99e-05/0.1823, allocations: 56.14 kB / 0.9981 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1823, allocations: 7.938 kB / 0.9981 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.1823, allocations: 0 / 0.9981 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1823, allocations: 7.984 kB / 0.9981 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.1827, allocations: 417.6 kB / 0.9985 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1827, allocations: 0 / 0.9985 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.1828, allocations: 23.98 kB / 0.9985 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005418/0.1833, allocations: 183 kB / 0.9987 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.1834, allocations: 8 kB / 0.9987 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/0.1855, allocations: 2.377 MB / 1.001 GB, free: 5.035 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1855, allocations: 0 / 1.001 GB, free: 5.035 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008886/0.1864, allocations: 0.5433 MB / 1.002 GB, free: 4.473 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.49e-05/0.1865, allocations: 132.6 kB / 1.002 GB, free: 4.324 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.1866, allocations: 4 kB / 1.002 GB, free: 4.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.1868, allocations: 27.83 kB / 1.002 GB, free: 4.293 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.1869, allocations: 31.91 kB / 1.002 GB, free: 4.262 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.1869, allocations: 4 kB / 1.002 GB, free: 4.258 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001758/0.1871, allocations: 259.2 kB / 1.002 GB, free: 4.008 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1871, allocations: 0 / 1.002 GB, free: 4.008 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005387/0.1876, allocations: 259.7 kB / 1.002 GB, free: 3.754 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.00105/0.1887, allocations: 1.08 MB / 1.003 GB, free: 2.645 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.1898, allocations: 0.782 MB / 1.004 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1898, allocations: 320 / 1.004 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003967/0.1902, allocations: 322.9 kB / 1.004 GB, free: 1.508 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004795/0.1907, allocations: 89.45 kB / 1.004 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/0.1936, allocations: 2.259 MB / 1.007 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.1939, allocations: 0.8075 MB / 1.007 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.1941, allocations: 35.27 kB / 1.007 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.1942, allocations: 119.4 kB / 1.008 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of SimCode: time 3.4e-07/0.1942, allocations: 4 kB / 1.008 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8631/1.057, allocations: 11.15 MB / 1.018 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/1.058, allocations: 228.2 kB / 1.019 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.725/3.783, allocations: 3.125 kB / 1.019 GB, free: 2.98 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1)