Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.409/1.409, allocations: 251.5 MB / 266.7 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009712/0.0009712, allocations: 171.9 kB / 325.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205 MB / 0.576 GB, free: 21.03 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007651/0.000765, allocations: 90.36 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002789/0.0002786, allocations: 11.62 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1548, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.002269/0.1571, allocations: 2.689 MB / 0.8988 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.1581, allocations: 0.8381 MB / 0.8997 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.1583, allocations: 7.938 kB / 0.8997 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.1585, allocations: 35.64 kB / 0.8997 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002345/0.1587, allocations: 127.1 kB / 0.8998 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.159, allocations: 131.8 kB / 0.8999 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002983/0.1593, allocations: 0.4911 MB / 0.9004 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002368/0.1596, allocations: 182 kB / 0.9006 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.1597, allocations: 159.2 kB / 0.9007 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.1599, allocations: 187 kB / 0.9009 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.289e-05/0.1599, allocations: 16 kB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.696e-05/0.16, allocations: 16 kB / 0.901 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.083e-05/0.1601, allocations: 67.62 kB / 0.901 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.1602, allocations: 186.8 kB / 0.9012 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.1604, allocations: 422.2 kB / 0.9016 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1604, allocations: 0 / 0.9016 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1604, allocations: 0 / 0.9016 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.1604, allocations: 0 / 0.9016 GB, free: 62.54 MB / 0.6042 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.0008166/0.1613, allocations: 0.6628 MB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.1613, allocations: 8.031 kB / 0.9023 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.241e-05/0.1614, allocations: 74.72 kB / 0.9023 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.877e-05/0.1614, allocations: 48.38 kB / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.1617, allocations: 319.2 kB / 0.9027 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.1617, allocations: 25.38 kB / 0.9027 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.1618, allocations: 40.31 kB / 0.9027 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.1622, allocations: 385.1 kB / 0.9031 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1622, allocations: 4 kB / 0.9031 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.1623, allocations: 12 kB / 0.9031 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1623, allocations: 15.94 kB / 0.9031 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004193/0.1627, allocations: 282.3 kB / 0.9034 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.1639, allocations: 1.46 MB / 0.9048 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004337/0.1644, allocations: 287.4 kB / 0.9051 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/0.1647, allocations: 184.4 kB / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.1647, allocations: 4.234 kB / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.276e-05/0.1647, allocations: 42.73 kB / 0.9053 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 1.773e-06/0.1648, allocations: 11.92 kB / 0.9053 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.002493/0.1672, allocations: 0.9051 MB / 0.9062 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/0.1673, allocations: 55.39 kB / 0.9063 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.1675, allocations: 361.7 kB / 0.9066 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.1676, allocations: 29.7 kB / 0.9066 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.851e-05/0.1676, allocations: 216.2 kB / 0.9069 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.1677, allocations: 90.59 kB / 0.9069 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.1677, allocations: 25.72 kB / 0.907 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.116e-05/0.1678, allocations: 350.8 kB / 0.9073 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.168, allocations: 104.5 kB / 0.9074 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.1682, allocations: 163.9 kB / 0.9076 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003633/0.1685, allocations: 273.5 kB / 0.9078 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1685, allocations: 0 / 0.9078 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009464/0.1695, allocations: 0.4974 MB / 0.9083 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.1695, allocations: 125.5 kB / 0.9084 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1696, allocations: 0 / 0.9084 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006281/0.1702, allocations: 184.7 kB / 0.9086 GB, free: 55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.1703, allocations: 39.91 kB / 0.9086 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/0.1727, allocations: 2.48 MB / 0.9111 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.173, allocations: 47.58 kB / 0.9111 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.173, allocations: 12 kB / 0.9111 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.738e-06/0.173, allocations: 4 kB / 0.9111 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008791/0.1739, allocations: 440.1 kB / 0.9115 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-06/0.1739, allocations: 0 / 0.9115 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005182/0.1744, allocations: 184.8 kB / 0.9117 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1745, allocations: 35.92 kB / 0.9117 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.1766, allocations: 2.387 MB / 0.9141 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.1769, allocations: 43.69 kB / 0.9141 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.1769, allocations: 8 kB / 0.9141 GB, free: 49.07 MB / 0.6042 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 (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 {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.177, allocations: 229 kB / 0.9143 GB, free: 48.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.1771, allocations: 43.53 kB / 0.9144 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.184e-05/0.1771, allocations: 48.16 kB / 0.9144 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1771, allocations: 7.938 kB / 0.9144 GB, free: 48.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.1771, allocations: 3.984 kB / 0.9144 GB, free: 48.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1771, allocations: 0 / 0.9144 GB, free: 48.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.1775, allocations: 413.6 kB / 0.9148 GB, free: 48.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1775, allocations: 0 / 0.9148 GB, free: 48.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.1776, allocations: 27.98 kB / 0.9149 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005176/0.1781, allocations: 184.5 kB / 0.915 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.1782, allocations: 8 kB / 0.915 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002028/0.1802, allocations: 2.391 MB / 0.9174 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1802, allocations: 0 / 0.9174 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008471/0.1811, allocations: 0.5394 MB / 0.9179 GB, free: 44.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.13e-05/0.1812, allocations: 140.5 kB / 0.918 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.1812, allocations: 4 kB / 0.918 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.1815, allocations: 19.98 kB / 0.9181 GB, free: 44.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.126e-05/0.1815, allocations: 27.91 kB / 0.9181 GB, free: 44.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.1815, allocations: 4 kB / 0.9181 GB, free: 44.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000176/0.1817, allocations: 263.2 kB / 0.9183 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1817, allocations: 0 / 0.9183 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005034/0.1822, allocations: 263.6 kB / 0.9186 GB, free: 44.26 MB / 0.6042 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 (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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001001/0.1832, allocations: 1.084 MB / 0.9197 GB, free: 43.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001058/0.1843, allocations: 0.7952 MB / 0.9204 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1843, allocations: 0 / 0.9204 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003809/0.1847, allocations: 326.3 kB / 0.9207 GB, free: 41.99 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.1852, allocations: 101.4 kB / 0.9208 GB, free: 41.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004117/0.1893, allocations: 3.863 MB / 0.9246 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.1895, allocations: 0.8191 MB / 0.9254 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000128/0.1896, allocations: 39.27 kB / 0.9255 GB, free: 37.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.1897, allocations: 115.4 kB / 0.9256 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.1897, allocations: 0 / 0.9256 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6314/0.8211, allocations: 11.34 MB / 0.9366 GB, free: 25.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/0.8213, allocations: 258.9 kB / 0.9369 GB, free: 25.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.163/2.985, allocations: 0 / 0.9369 GB, free: 25.57 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1)