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 2.085/2.085, allocations: 288.4 MB / 303.3 MB, free: 8.168 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.001061/0.001061, allocations: 183 kB / 372 MB, free: 10.24 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.535/1.535, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0008981/0.0008981, allocations: 92.69 kB / 0.744 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004303/0.0004303, allocations: 12.38 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2295, allocations: 115.3 MB / 0.9796 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.003264/0.2328, allocations: 2.815 MB / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001832/0.2347, allocations: 0.8716 MB / 0.9832 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000343/0.235, allocations: 8 kB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.2352, allocations: 43.56 kB / 0.9833 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.2355, allocations: 142.9 kB / 0.9834 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.2359, allocations: 139.8 kB / 0.9836 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004322/0.2364, allocations: 0.5922 MB / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002805/0.2367, allocations: 179.4 kB / 0.9843 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.2369, allocations: 199.3 kB / 0.9845 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.2372, allocations: 239 kB / 0.9847 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.175e-05/0.2372, allocations: 27.98 kB / 0.9848 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.901e-05/0.2373, allocations: 24 kB / 0.9848 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.697e-05/0.2374, allocations: 87.59 kB / 0.9849 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.275e-05/0.2375, allocations: 109.5 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.2378, allocations: 415.1 kB / 0.9854 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.2378, allocations: 4 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2378, allocations: 0 / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.2378, allocations: 0 / 0.9854 GB, free: 21.64 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.001231/0.2391, allocations: 0.7483 MB / 0.9861 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.2391, allocations: 16.02 kB / 0.9861 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.747e-05/0.2392, allocations: 78.53 kB / 0.9862 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.776e-05/0.2393, allocations: 63.33 kB / 0.9863 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.2397, allocations: 334 kB / 0.9866 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.2397, allocations: 33 kB / 0.9866 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.632e-05/0.2397, allocations: 44 kB / 0.9866 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006352/0.2404, allocations: 406.4 kB / 0.987 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.2404, allocations: 0 / 0.987 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.2405, allocations: 20 kB / 0.987 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.2405, allocations: 8 kB / 0.9871 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005678/0.241, allocations: 339.8 kB / 0.9874 GB, free: 19.47 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.001845/0.2429, allocations: 1.501 MB / 0.9888 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006343/0.2435, allocations: 408.6 kB / 0.9892 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.2439, allocations: 237.3 kB / 0.9895 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.2439, allocations: 4 kB / 0.9895 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.244, allocations: 38.56 kB / 0.9895 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 1.673e-06/0.244, allocations: 4 kB / 0.9895 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.006719/0.2507, allocations: 1.814 MB / 0.9913 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.2507, allocations: 55.41 kB / 0.9913 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.251, allocations: 341.7 kB / 0.9917 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.2511, allocations: 41.7 kB / 0.9917 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.2512, allocations: 212.6 kB / 0.9919 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.2e-05/0.2513, allocations: 138 kB / 0.992 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/0.2513, allocations: 4 kB / 0.992 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.604e-05/0.2514, allocations: 354.8 kB / 0.9924 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.2516, allocations: 139.9 kB / 0.9925 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.2519, allocations: 213.8 kB / 0.9927 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.2522, allocations: 155.9 kB / 0.9929 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2522, allocations: 0 / 0.9929 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001756/0.254, allocations: 0.7361 MB / 0.9936 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/0.254, allocations: 97.27 kB / 0.9937 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.254, allocations: 0 / 0.9937 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001638/0.2557, allocations: 448.4 kB / 0.9941 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.2558, allocations: 31.98 kB / 0.9941 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005222/0.261, allocations: 3.849 MB / 0.9979 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004547/0.2615, allocations: 51.66 kB / 0.9979 GB, free: 8.305 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.2615, allocations: 15.94 kB / 0.998 GB, free: 8.289 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/0.2616, allocations: 4 kB / 0.998 GB, free: 8.285 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001676/0.2632, allocations: 0.668 MB / 0.9986 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.2633, allocations: 0 / 0.9986 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/0.2646, allocations: 433 kB / 0.999 GB, free: 7.188 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.2648, allocations: 27.92 kB / 0.999 GB, free: 7.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0044/0.2692, allocations: 3.691 MB / 1.003 GB, free: 3.332 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004035/0.2696, allocations: 47.77 kB / 1.003 GB, free: 3.285 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.2696, allocations: 12 kB / 1.003 GB, free: 3.273 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.000213/0.2698, allocations: 237.4 kB / 1.003 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.435e-05/0.2699, allocations: 43.48 kB / 1.003 GB, free: 2.988 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.299e-05/0.27, allocations: 60.48 kB / 1.003 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.27, allocations: 4 kB / 1.003 GB, free: 2.926 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.27, allocations: 0 / 1.003 GB, free: 2.926 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.27, allocations: 7.984 kB / 1.003 GB, free: 2.918 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004789/0.2705, allocations: 0.4901 MB / 1.004 GB, free: 2.375 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2705, allocations: 0 / 1.004 GB, free: 2.375 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.2706, allocations: 27.97 kB / 1.004 GB, free: 2.348 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001286/0.2719, allocations: 397 kB / 1.004 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.272, allocations: 11.98 kB / 1.004 GB, free: 1.945 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004715/0.2767, allocations: 3.663 MB / 1.008 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2767, allocations: 4 kB / 1.008 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.2785, allocations: 0.8186 MB / 1.008 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.2787, allocations: 148.5 kB / 1.008 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.2788, allocations: 8 kB / 1.008 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/0.2791, allocations: 31.97 kB / 1.009 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.501e-05/0.2792, allocations: 31.95 kB / 1.009 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.2792, allocations: 4 kB / 1.009 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002611/0.2795, allocations: 255.2 kB / 1.009 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2795, allocations: 0 / 1.009 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009883/0.2805, allocations: 339.4 kB / 1.009 GB, free: 12.48 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.002165/0.2826, allocations: 1.368 MB / 1.01 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002555/0.2852, allocations: 1.175 MB / 1.012 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2852, allocations: 4 kB / 1.012 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009588/0.2862, allocations: 0.5167 MB / 1.012 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006489/0.2869, allocations: 113.3 kB / 1.012 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004984/0.2918, allocations: 2.761 MB / 1.015 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.2923, allocations: 0.8437 MB / 1.016 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001727/0.2924, allocations: 35.27 kB / 1.016 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.2926, allocations: 135.3 kB / 1.016 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of SimCode: time 6.01e-07/0.2926, allocations: 0 / 1.016 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.3236, allocations: 15.62 MB / 1.031 GB, free: 6.078 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/0.3238, allocations: 247.2 kB / 1.031 GB, free: 5.836 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.437/2.76, allocations: 64 / 1.031 GB, free: 5.836 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)