Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.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.GlassLayer,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.623/1.623, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001227/0.001227, allocations: 185.3 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.117/2.117, allocations: 205.4 MB / 0.5775 GB, free: 20.31 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.0009173/0.0009174, allocations: 95.69 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003816, allocations: 12.62 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2704, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.003631/0.2741, allocations: 2.679 MB / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.2757, allocations: 0.8997 MB / 0.9036 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000202/0.2759, allocations: 8 kB / 0.9037 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.2761, allocations: 43.62 kB / 0.9037 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.2764, allocations: 171.5 kB / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.2768, allocations: 135.8 kB / 0.904 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004382/0.2773, allocations: 432.1 kB / 0.9044 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003331/0.2776, allocations: 183.4 kB / 0.9046 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.2779, allocations: 203.2 kB / 0.9048 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003355/0.2782, allocations: 235 kB / 0.905 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.752e-05/0.2783, allocations: 28 kB / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.574e-05/0.2784, allocations: 24 kB / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.126e-05/0.2785, allocations: 87.64 kB / 0.9051 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.2786, allocations: 109.5 kB / 0.9052 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00036/0.2789, allocations: 403.2 kB / 0.9056 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.279, allocations: 0 / 0.9056 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.907e-06/0.279, allocations: 0 / 0.9056 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.279, allocations: 0 / 0.9056 GB, free: 58.22 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00143/0.2804, allocations: 0.7561 MB / 0.9064 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.2805, allocations: 12.03 kB / 0.9064 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.41e-05/0.2806, allocations: 82.52 kB / 0.9064 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.73e-05/0.2807, allocations: 59.3 kB / 0.9065 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/0.2811, allocations: 326.1 kB / 0.9068 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.2812, allocations: 33 kB / 0.9068 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.924e-05/0.2812, allocations: 44 kB / 0.9069 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006343/0.2819, allocations: 406.4 kB / 0.9073 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.2819, allocations: 0 / 0.9073 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.007e-05/0.2819, allocations: 19.94 kB / 0.9073 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.282, allocations: 12 kB / 0.9073 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005694/0.2825, allocations: 343.8 kB / 0.9076 GB, free: 56.05 MB / 0.6042 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.001931/0.2845, allocations: 1.493 MB / 0.9091 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006156/0.2851, allocations: 399 kB / 0.9095 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.314e-05/0.2852, allocations: 8 kB / 0.9095 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.2852, allocations: 42.5 kB / 0.9095 GB, free: 54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 1.573e-06/0.2852, allocations: 0 / 0.9095 GB, free: 54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=41): time 0.006985/0.2922, allocations: 1.809 MB / 0.9113 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.2923, allocations: 59.34 kB / 0.9113 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.2926, allocations: 349.7 kB / 0.9117 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.2927, allocations: 33.7 kB / 0.9117 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.2928, allocations: 224.6 kB / 0.9119 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.773e-05/0.2929, allocations: 137.9 kB / 0.9121 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-05/0.293, allocations: 8 kB / 0.9121 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.767e-05/0.293, allocations: 350.7 kB / 0.9124 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.2933, allocations: 135.9 kB / 0.9125 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.2936, allocations: 209.9 kB / 0.9127 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.2938, allocations: 156.6 kB / 0.9129 GB, free: 50.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2939, allocations: 0 / 0.9129 GB, free: 50.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001787/0.2956, allocations: 0.7431 MB / 0.9136 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.439e-05/0.2957, allocations: 93 kB / 0.9137 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2957, allocations: 3.984 kB / 0.9137 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001636/0.2974, allocations: 449 kB / 0.9141 GB, free: 49.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.2975, allocations: 27.92 kB / 0.9141 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005502/0.303, allocations: 3.954 MB / 0.918 GB, free: 45.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005147/0.3036, allocations: 59.5 kB / 0.9181 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.3036, allocations: 8 kB / 0.9181 GB, free: 45.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.3036, allocations: 4 kB / 0.9181 GB, free: 45.01 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001707/0.3053, allocations: 0.6758 MB / 0.9187 GB, free: 44.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-06/0.3054, allocations: 0 / 0.9187 GB, free: 44.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/0.3068, allocations: 436.4 kB / 0.9192 GB, free: 43.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.3069, allocations: 31.97 kB / 0.9192 GB, free: 43.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005016/0.3119, allocations: 3.789 MB / 0.9229 GB, free: 39.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005155/0.3125, allocations: 59.66 kB / 0.9229 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.3125, allocations: 7.938 kB / 0.9229 GB, free: 39.87 MB / 0.6042 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.0002957/0.3128, allocations: 229.1 kB / 0.9232 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-05/0.3129, allocations: 43.48 kB / 0.9232 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.313, allocations: 56.48 kB / 0.9233 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.313, allocations: 11.98 kB / 0.9233 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3131, allocations: 4 kB / 0.9233 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3131, allocations: 0 / 0.9233 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005178/0.3136, allocations: 498 kB / 0.9238 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3136, allocations: 0 / 0.9238 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.3137, allocations: 39.86 kB / 0.9238 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001375/0.3151, allocations: 396.7 kB / 0.9242 GB, free: 38.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.3152, allocations: 8 kB / 0.9242 GB, free: 38.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00482/0.32, allocations: 3.769 MB / 0.9279 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.32, allocations: 4 kB / 0.9279 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.3217, allocations: 0.8123 MB / 0.9287 GB, free: 33.81 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.3219, allocations: 144.5 kB / 0.9288 GB, free: 33.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/0.3219, allocations: 11.98 kB / 0.9288 GB, free: 33.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.3222, allocations: 31.83 kB / 0.9288 GB, free: 33.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.933e-05/0.3223, allocations: 39.88 kB / 0.9289 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.3224, allocations: 12 kB / 0.9289 GB, free: 33.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002447/0.3226, allocations: 247.2 kB / 0.9291 GB, free: 33.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.172e-06/0.3226, allocations: 0 / 0.9291 GB, free: 33.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001022/0.3236, allocations: 343.5 kB / 0.9294 GB, free: 32.98 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 (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.001923/0.3256, allocations: 1.36 MB / 0.9308 GB, free: 31.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002427/0.328, allocations: 1.177 MB / 0.9319 GB, free: 30.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.328, allocations: 0 / 0.9319 GB, free: 30.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008977/0.3289, allocations: 0.5012 MB / 0.9324 GB, free: 29.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005594/0.3295, allocations: 109.3 kB / 0.9325 GB, free: 29.76 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004528/0.3341, allocations: 2.75 MB / 0.9352 GB, free: 26.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.3344, allocations: 0.8554 MB / 0.936 GB, free: 26.08 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002073/0.3346, allocations: 39.27 kB / 0.9361 GB, free: 26.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.3348, allocations: 131.4 kB / 0.9362 GB, free: 25.91 MB / 0.6042 GB Notification: Performance of SimCode: time 1.282e-06/0.3348, allocations: 0 / 0.9362 GB, free: 25.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/0.3649, allocations: 15.59 MB / 0.9514 GB, free: 10.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/0.3652, allocations: 252.2 kB / 0.9517 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/2.834, allocations: 1.562 kB / 0.9517 GB, free: 10.38 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1)