Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.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.GlassLayer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.588/1.588, allocations: 288.4 MB / 303.6 MB, free: 8.074 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.000975/0.000975, allocations: 190.8 kB / 372.3 MB, free: 10.11 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.357/1.357, allocations: 205.4 MB / 0.631 GB, free: 9.871 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.0007255/0.0007255, allocations: 90.81 kB / 0.7444 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003519, allocations: 12.34 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.169, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.002625/0.1716, allocations: 2.819 MB / 0.9829 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.173, allocations: 0.8657 MB / 0.9838 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.1732, allocations: 11.94 kB / 0.9838 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.1733, allocations: 43.62 kB / 0.9838 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.1736, allocations: 138.8 kB / 0.984 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.1739, allocations: 143.8 kB / 0.9841 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003624/0.1743, allocations: 0.5806 MB / 0.9847 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002715/0.1745, allocations: 215.5 kB / 0.9849 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.1747, allocations: 199.2 kB / 0.9851 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.1749, allocations: 242.9 kB / 0.9853 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.99e-05/0.175, allocations: 24 kB / 0.9853 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.862e-05/0.1751, allocations: 28 kB / 0.9854 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.492e-05/0.1752, allocations: 83.66 kB / 0.9854 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.1753, allocations: 248.5 kB / 0.9857 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.1756, allocations: 411.1 kB / 0.9861 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1756, allocations: 0 / 0.9861 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1756, allocations: 0 / 0.9861 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.1756, allocations: 0 / 0.9861 GB, free: 21.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.001085/0.1767, allocations: 0.7523 MB / 0.9868 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1767, allocations: 8.031 kB / 0.9868 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.085e-05/0.1768, allocations: 86.7 kB / 0.9869 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.359e-05/0.1769, allocations: 56.28 kB / 0.9869 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.1772, allocations: 347.1 kB / 0.9873 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.1772, allocations: 37.38 kB / 0.9873 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.541e-05/0.1773, allocations: 40.38 kB / 0.9874 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005726/0.1779, allocations: 406.5 kB / 0.9877 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1779, allocations: 0 / 0.9877 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.1779, allocations: 20 kB / 0.9878 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1779, allocations: 12 kB / 0.9878 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000517/0.1784, allocations: 339.8 kB / 0.9881 GB, free: 19 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.00164/0.1801, allocations: 1.509 MB / 0.9896 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005674/0.1807, allocations: 404.4 kB / 0.99 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/0.181, allocations: 237.3 kB / 0.9902 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.055e-05/0.181, allocations: 11.98 kB / 0.9902 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.301e-05/0.1811, allocations: 34.56 kB / 0.9902 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 1.282e-06/0.1811, allocations: 4 kB / 0.9902 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.006676/0.1877, allocations: 1.837 MB / 0.992 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.1878, allocations: 71.34 kB / 0.9921 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.1881, allocations: 345.7 kB / 0.9924 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.1881, allocations: 33.7 kB / 0.9924 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.728e-05/0.1882, allocations: 212.6 kB / 0.9927 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.546e-05/0.1883, allocations: 141.9 kB / 0.9928 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/0.1883, allocations: 8 kB / 0.9928 GB, free: 14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.295e-05/0.1883, allocations: 346.8 kB / 0.9931 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.1886, allocations: 139.9 kB / 0.9933 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.1888, allocations: 201.9 kB / 0.9935 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004625/0.1893, allocations: 328.7 kB / 0.9938 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.1893, allocations: 0 / 0.9938 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001641/0.191, allocations: 0.736 MB / 0.9945 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/0.191, allocations: 101 kB / 0.9946 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.191, allocations: 0 / 0.9946 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001551/0.1926, allocations: 448.4 kB / 0.995 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1927, allocations: 35.91 kB / 0.995 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00474/0.1975, allocations: 3.839 MB / 0.9988 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004181/0.1979, allocations: 55.56 kB / 0.9988 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.1979, allocations: 11.94 kB / 0.9989 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.061e-06/0.1979, allocations: 4 kB / 0.9989 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001583/0.1995, allocations: 0.672 MB / 0.9995 GB, free: 6.941 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-06/0.1995, allocations: 0 / 0.9995 GB, free: 6.941 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/0.2009, allocations: 441.1 kB / 0.9999 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.201, allocations: 27.97 kB / 1 GB, free: 6.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004124/0.2052, allocations: 3.695 MB / 1.004 GB, free: 2.648 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004009/0.2056, allocations: 39.73 kB / 1.004 GB, free: 2.609 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.2056, allocations: 19.92 kB / 1.004 GB, free: 2.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.0001778/0.2058, allocations: 234.2 kB / 1.004 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.2058, allocations: 43.44 kB / 1.004 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.13e-05/0.2059, allocations: 56.48 kB / 1.004 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2059, allocations: 4 kB / 1.004 GB, free: 2.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.2059, allocations: 0 / 1.004 GB, free: 2.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.206, allocations: 7.922 kB / 1.004 GB, free: 2.242 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004201/0.2064, allocations: 0.4903 MB / 1.004 GB, free: 1.699 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2064, allocations: 0 / 1.004 GB, free: 1.699 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.2065, allocations: 27.92 kB / 1.004 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001304/0.2078, allocations: 396.7 kB / 1.005 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.2078, allocations: 8 kB / 1.005 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004621/0.2125, allocations: 3.675 MB / 1.008 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2125, allocations: 3.938 kB / 1.008 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.2142, allocations: 0.8111 MB / 1.009 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.2144, allocations: 152.5 kB / 1.009 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.107e-05/0.2144, allocations: 12.25 kB / 1.009 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.2147, allocations: 23.89 kB / 1.009 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.815e-05/0.2148, allocations: 43.88 kB / 1.009 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.2149, allocations: 8 kB / 1.009 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002377/0.2151, allocations: 259.1 kB / 1.01 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2151, allocations: 0 / 1.01 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008343/0.216, allocations: 339.5 kB / 1.01 GB, free: 11.78 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.001964/0.2179, allocations: 1.364 MB / 1.011 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002234/0.2202, allocations: 1.166 MB / 1.013 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2202, allocations: 0 / 1.013 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008974/0.2211, allocations: 0.5094 MB / 1.013 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005753/0.2217, allocations: 116.9 kB / 1.013 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004443/0.2261, allocations: 2.76 MB / 1.016 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.2265, allocations: 0.8437 MB / 1.017 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001335/0.2266, allocations: 31.28 kB / 1.017 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.2268, allocations: 129.1 kB / 1.017 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of SimCode: time 3e-07/0.2268, allocations: 0 / 1.017 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.014/1.241, allocations: 15.69 MB / 1.032 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002813/1.241, allocations: 236.9 kB / 1.032 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.769/4.01, allocations: 0 / 1.032 GB, free: 5.086 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1)