Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.417/1.417, allocations: 287.4 MB / 302.6 MB, free: 8.312 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.0009248/0.0009248, allocations: 184.6 kB / 371.1 MB, free: 10.84 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.146/1.146, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.000697/0.000697, allocations: 91.52 kB / 0.7431 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003234, allocations: 16.09 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1466, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.002401/0.149, allocations: 2.819 MB / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.1503, allocations: 0.862 MB / 0.9823 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.1505, allocations: 4 kB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.1507, allocations: 47.62 kB / 0.9824 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000305/0.151, allocations: 142.8 kB / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.1513, allocations: 147.8 kB / 0.9827 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004272/0.1518, allocations: 0.5806 MB / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000275/0.152, allocations: 207.5 kB / 0.9834 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.1523, allocations: 207.2 kB / 0.9836 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.1525, allocations: 239 kB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.516e-05/0.1526, allocations: 24 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.334e-05/0.1527, allocations: 24 kB / 0.9839 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.77e-05/0.1527, allocations: 87.66 kB / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.523e-05/0.1528, allocations: 109.5 kB / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.1531, allocations: 411.1 kB / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1531, allocations: 0 / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1531, allocations: 7.938 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.1531, allocations: 0 / 0.9845 GB, free: 22.18 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001065/0.1542, allocations: 0.7542 MB / 0.9852 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.1542, allocations: 12.03 kB / 0.9852 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.617e-05/0.1543, allocations: 78.7 kB / 0.9853 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.754e-05/0.1544, allocations: 56.28 kB / 0.9854 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.1547, allocations: 339.1 kB / 0.9857 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.1547, allocations: 37.38 kB / 0.9857 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.928e-05/0.1548, allocations: 40.38 kB / 0.9858 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005716/0.1554, allocations: 414.5 kB / 0.9862 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1554, allocations: 0 / 0.9862 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.1554, allocations: 20 kB / 0.9862 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1554, allocations: 8 kB / 0.9862 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005214/0.156, allocations: 339.8 kB / 0.9865 GB, free: 20.02 MB / 0.6198 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.1576, allocations: 1.493 MB / 0.988 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005739/0.1582, allocations: 406.9 kB / 0.9884 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/0.1585, allocations: 245 kB / 0.9886 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.1586, allocations: 4 kB / 0.9886 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.258e-05/0.1586, allocations: 42.56 kB / 0.9886 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 1.423e-06/0.1586, allocations: 0 / 0.9886 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.006405/0.165, allocations: 1.849 MB / 0.9904 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.165, allocations: 67.34 kB / 0.9905 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.1653, allocations: 341.7 kB / 0.9908 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.1653, allocations: 33.7 kB / 0.9909 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.852e-05/0.1654, allocations: 212.6 kB / 0.9911 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/0.1655, allocations: 145.9 kB / 0.9912 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.605e-05/0.1655, allocations: 4 kB / 0.9912 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.104e-05/0.1656, allocations: 346.8 kB / 0.9915 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.1658, allocations: 143.9 kB / 0.9917 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.1661, allocations: 197.9 kB / 0.9919 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004591/0.1666, allocations: 333.3 kB / 0.9922 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1666, allocations: 4 kB / 0.9922 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001639/0.1682, allocations: 0.7314 MB / 0.9929 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.1683, allocations: 101 kB / 0.993 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1683, allocations: 0 / 0.993 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/0.1697, allocations: 448.4 kB / 0.9934 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.1699, allocations: 35.92 kB / 0.9935 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004582/0.1745, allocations: 3.837 MB / 0.9972 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004013/0.1749, allocations: 47.64 kB / 0.9972 GB, free: 8.648 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.1749, allocations: 15.98 kB / 0.9973 GB, free: 8.633 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.731e-06/0.1749, allocations: 4 kB / 0.9973 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001517/0.1764, allocations: 0.6759 MB / 0.9979 GB, free: 7.949 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-06/0.1765, allocations: 7.938 kB / 0.9979 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.1778, allocations: 428.9 kB / 0.9983 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.1779, allocations: 27.98 kB / 0.9984 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004025/0.1819, allocations: 3.702 MB / 1.002 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003719/0.1823, allocations: 47.72 kB / 1.002 GB, free: 3.605 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.1823, allocations: 15.94 kB / 1.002 GB, free: 3.59 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (12): * Single equations (assignments): 11 * 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 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.1825, allocations: 229.1 kB / 1.002 GB, free: 3.355 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.504e-05/0.1825, allocations: 43.44 kB / 1.002 GB, free: 3.312 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.59e-05/0.1826, allocations: 60.48 kB / 1.002 GB, free: 3.254 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1826, allocations: 4 kB / 1.002 GB, free: 3.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.1826, allocations: 0 / 1.002 GB, free: 3.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1826, allocations: 3.938 kB / 1.002 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.183, allocations: 0.4942 MB / 1.003 GB, free: 2.699 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.183, allocations: 0 / 1.003 GB, free: 2.699 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.1831, allocations: 31.92 kB / 1.003 GB, free: 2.668 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001264/0.1844, allocations: 392.7 kB / 1.003 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.1845, allocations: 4 kB / 1.003 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004276/0.1887, allocations: 3.682 MB / 1.007 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1887, allocations: 0 / 1.007 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.1904, allocations: 0.8071 MB / 1.008 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.1906, allocations: 152.5 kB / 1.008 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.1906, allocations: 8.25 kB / 1.008 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.1909, allocations: 27.88 kB / 1.008 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.602e-05/0.191, allocations: 43.83 kB / 1.008 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.191, allocations: 12 kB / 1.008 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002111/0.1912, allocations: 251.2 kB / 1.008 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1912, allocations: 0 / 1.008 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007426/0.192, allocations: 339.5 kB / 1.008 GB, free: 12.8 MB / 0.6355 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 (10): * Single equations (assignments): 9 * 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 {6 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.001899/0.1939, allocations: 1.364 MB / 1.01 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002162/0.1961, allocations: 1.182 MB / 1.011 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1961, allocations: 0 / 1.011 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008876/0.197, allocations: 0.5092 MB / 1.011 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005397/0.1975, allocations: 116.8 kB / 1.012 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004335/0.2019, allocations: 2.745 MB / 1.014 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.2022, allocations: 0.8514 MB / 1.015 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001396/0.2024, allocations: 39.2 kB / 1.015 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.2025, allocations: 127.4 kB / 1.015 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/0.2025, allocations: 0 / 1.015 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.349/1.551, allocations: 15.58 MB / 1.03 GB, free: 6.453 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/1.552, allocations: 231.8 kB / 1.031 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.975, allocations: 0 / 1.031 GB, free: 6.207 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1)