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.676/1.676, allocations: 288.2 MB / 303.2 MB, free: 8.133 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.00116/0.00116, allocations: 183.3 kB / 371.8 MB, free: 10.31 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.809/1.809, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.001179/0.001179, allocations: 97.2 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004686/0.0004688, allocations: 11.81 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2643, allocations: 115.3 MB / 0.9795 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.003039/0.2674, allocations: 2.671 MB / 0.9821 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.2687, allocations: 0.8855 MB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.2689, allocations: 8 kB / 0.983 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.269, allocations: 43.62 kB / 0.983 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.2693, allocations: 171.5 kB / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.2696, allocations: 141 kB / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003514/0.2699, allocations: 428.1 kB / 0.9837 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.2702, allocations: 191.3 kB / 0.9839 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.2704, allocations: 199.3 kB / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.2706, allocations: 239 kB / 0.9843 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.72e-05/0.2707, allocations: 24 kB / 0.9843 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.358e-05/0.2708, allocations: 24 kB / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.178e-05/0.2708, allocations: 87.64 kB / 0.9844 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.926e-05/0.2709, allocations: 105.5 kB / 0.9845 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.2713, allocations: 407.1 kB / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2713, allocations: 0 / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2713, allocations: 4 kB / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.2713, allocations: 0 / 0.9849 GB, free: 22.04 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.001258/0.2726, allocations: 0.7561 MB / 0.9857 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.2726, allocations: 16.02 kB / 0.9857 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.901e-05/0.2727, allocations: 90.45 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.557e-05/0.2728, allocations: 55.34 kB / 0.9858 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.2732, allocations: 330.1 kB / 0.9861 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.2732, allocations: 37 kB / 0.9862 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/0.2733, allocations: 40 kB / 0.9862 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006151/0.2739, allocations: 402.4 kB / 0.9866 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.2739, allocations: 0 / 0.9866 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.274, allocations: 19.98 kB / 0.9866 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.274, allocations: 12 kB / 0.9866 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005695/0.2745, allocations: 343.8 kB / 0.9869 GB, free: 19.86 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.001942/0.2765, allocations: 1.493 MB / 0.9884 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006261/0.2771, allocations: 408.6 kB / 0.9888 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.2772, allocations: 8 kB / 0.9888 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.2772, allocations: 34.56 kB / 0.9888 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 1.533e-06/0.2772, allocations: 0 / 0.9888 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.007034/0.2843, allocations: 1.811 MB / 0.9906 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.2843, allocations: 59.41 kB / 0.9907 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000341/0.2847, allocations: 345.7 kB / 0.991 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.2847, allocations: 33.7 kB / 0.991 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.2849, allocations: 216.6 kB / 0.9912 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.652e-05/0.285, allocations: 142 kB / 0.9914 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.799e-05/0.285, allocations: 4 kB / 0.9914 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.83e-05/0.2851, allocations: 350.8 kB / 0.9917 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.2853, allocations: 139.9 kB / 0.9918 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.2856, allocations: 205.9 kB / 0.992 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.2859, allocations: 167.9 kB / 0.9922 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2859, allocations: 0 / 0.9922 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001777/0.2877, allocations: 0.7283 MB / 0.9929 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.836e-05/0.2877, allocations: 107.1 kB / 0.993 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2878, allocations: 3.938 kB / 0.993 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001615/0.2894, allocations: 444.4 kB / 0.9934 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.2895, allocations: 31.92 kB / 0.9935 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005487/0.295, allocations: 3.951 MB / 0.9973 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004765/0.2955, allocations: 47.62 kB / 0.9974 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.2956, allocations: 12 kB / 0.9974 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.2956, allocations: 4 kB / 0.9974 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001662/0.2972, allocations: 0.6758 MB / 0.998 GB, free: 8.137 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.2973, allocations: 4 kB / 0.998 GB, free: 8.133 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/0.2987, allocations: 429 kB / 0.9985 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.2988, allocations: 27.97 kB / 0.9985 GB, free: 7.684 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004855/0.3037, allocations: 3.806 MB / 1.002 GB, free: 3.742 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000475/0.3041, allocations: 47.62 kB / 1.002 GB, free: 3.695 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.3042, allocations: 12 kB / 1.002 GB, free: 3.684 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.0002424/0.3044, allocations: 230.2 kB / 1.002 GB, free: 3.449 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.3045, allocations: 47.47 kB / 1.003 GB, free: 3.402 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.3046, allocations: 56.48 kB / 1.003 GB, free: 3.348 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3046, allocations: 4 kB / 1.003 GB, free: 3.344 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.3046, allocations: 0 / 1.003 GB, free: 3.344 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3046, allocations: 4 kB / 1.003 GB, free: 3.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004984/0.3051, allocations: 0.4941 MB / 1.003 GB, free: 2.793 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3052, allocations: 3.984 kB / 1.003 GB, free: 2.789 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.3053, allocations: 31.92 kB / 1.003 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00134/0.3066, allocations: 393 kB / 1.003 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.3067, allocations: 4 kB / 1.003 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00509/0.3118, allocations: 3.784 MB / 1.007 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3118, allocations: 0 / 1.007 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.3137, allocations: 0.8186 MB / 1.008 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.3139, allocations: 156.5 kB / 1.008 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/0.3139, allocations: 4 kB / 1.008 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/0.3143, allocations: 23.97 kB / 1.008 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.3144, allocations: 31.95 kB / 1.008 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.3144, allocations: 12.25 kB / 1.008 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002893/0.3147, allocations: 247.2 kB / 1.008 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3147, allocations: 4 kB / 1.008 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001119/0.3158, allocations: 343.4 kB / 1.009 GB, free: 12.79 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.002226/0.3181, allocations: 1.364 MB / 1.01 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002785/0.3209, allocations: 1.175 MB / 1.011 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3209, allocations: 0 / 1.011 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.3219, allocations: 0.5091 MB / 1.012 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006163/0.3226, allocations: 117.3 kB / 1.012 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005277/0.3278, allocations: 2.739 MB / 1.015 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.3284, allocations: 0.8554 MB / 1.015 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002049/0.3286, allocations: 35.27 kB / 1.015 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.3288, allocations: 131.4 kB / 1.016 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of SimCode: time 5.82e-07/0.3288, allocations: 0 / 1.016 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03309/0.3619, allocations: 15.61 MB / 1.031 GB, free: 6.406 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/0.3621, allocations: 241.3 kB / 1.031 GB, free: 6.164 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/2.845, allocations: 0 / 1.031 GB, free: 6.164 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)