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.332/1.332, allocations: 251.5 MB / 266.7 MB, free: 11.02 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.0009262/0.0009261, allocations: 182.4 kB / 325.9 MB, free: 2.668 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205 MB / 0.576 GB, free: 20.92 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.0006822/0.0006822, allocations: 94.3 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003276, allocations: 11.16 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1804, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.002838/0.1833, allocations: 3.013 MB / 0.8991 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.1847, allocations: 0.8926 MB / 0.9 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003347/0.1851, allocations: 8 kB / 0.9 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.1854, allocations: 43.56 kB / 0.9001 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004214/0.1858, allocations: 150.9 kB / 0.9002 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.1862, allocations: 158.6 kB / 0.9004 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005064/0.1867, allocations: 0.6273 MB / 0.901 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002865/0.187, allocations: 215.5 kB / 0.9012 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.1872, allocations: 203.2 kB / 0.9014 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.1875, allocations: 238.9 kB / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.901e-05/0.1876, allocations: 31.98 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.072e-05/0.1877, allocations: 27.94 kB / 0.9017 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.239e-05/0.1877, allocations: 91.58 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.1879, allocations: 234.7 kB / 0.902 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003094/0.1882, allocations: 0.5292 MB / 0.9025 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1882, allocations: 0 / 0.9025 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1882, allocations: 0 / 0.9025 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.1882, allocations: 0 / 0.9025 GB, free: 61.58 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.001157/0.1894, allocations: 0.7446 MB / 0.9032 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1895, allocations: 8.031 kB / 0.9032 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.956e-05/0.1895, allocations: 82.72 kB / 0.9033 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.646e-05/0.1896, allocations: 56.28 kB / 0.9034 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.1899, allocations: 347.1 kB / 0.9037 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.19, allocations: 37.38 kB / 0.9037 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.711e-05/0.19, allocations: 40.38 kB / 0.9038 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005744/0.1906, allocations: 414.5 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1906, allocations: 0 / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.1907, allocations: 23.94 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1907, allocations: 12 kB / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005487/0.1912, allocations: 343.8 kB / 0.9045 GB, free: 59.4 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.00178/0.193, allocations: 1.489 MB / 0.906 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005985/0.1936, allocations: 414.7 kB / 0.9064 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.194, allocations: 240.8 kB / 0.9066 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.527e-05/0.194, allocations: 4 kB / 0.9066 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/0.194, allocations: 38.56 kB / 0.9066 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 1.573e-06/0.194, allocations: 0 / 0.9066 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=41): time 0.006987/0.201, allocations: 1.848 MB / 0.9084 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.2011, allocations: 59.34 kB / 0.9085 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.2013, allocations: 349.7 kB / 0.9088 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.2014, allocations: 33.7 kB / 0.9089 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.697e-05/0.2015, allocations: 212.6 kB / 0.9091 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.327e-05/0.2016, allocations: 145.9 kB / 0.9092 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.2016, allocations: 33.7 kB / 0.9092 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.705e-05/0.2017, allocations: 350.8 kB / 0.9096 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.2019, allocations: 143.9 kB / 0.9097 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/0.2022, allocations: 213.9 kB / 0.9099 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005019/0.2027, allocations: 337.4 kB / 0.9102 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2027, allocations: 0 / 0.9102 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001882/0.2046, allocations: 0.7664 MB / 0.911 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.055e-05/0.2047, allocations: 96.95 kB / 0.9111 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2047, allocations: 0 / 0.9111 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001666/0.2064, allocations: 457 kB / 0.9115 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.2065, allocations: 31.95 kB / 0.9115 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005356/0.2119, allocations: 3.846 MB / 0.9153 GB, free: 47.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004416/0.2123, allocations: 59.5 kB / 0.9154 GB, free: 47.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.2124, allocations: 12 kB / 0.9154 GB, free: 47.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.802e-06/0.2124, allocations: 8 kB / 0.9154 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00174/0.2141, allocations: 0.6716 MB / 0.916 GB, free: 47.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-06/0.2141, allocations: 0 / 0.916 GB, free: 47.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001451/0.2156, allocations: 436.9 kB / 0.9164 GB, free: 46.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.2157, allocations: 27.97 kB / 0.9165 GB, free: 46.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004421/0.2202, allocations: 3.7 MB / 0.9201 GB, free: 42.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000427/0.2206, allocations: 63.56 kB / 0.9201 GB, free: 42.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.2206, allocations: 7.938 kB / 0.9202 GB, free: 42.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0001686/0.2208, allocations: 233.1 kB / 0.9204 GB, free: 42.63 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.563e-05/0.2209, allocations: 39.53 kB / 0.9204 GB, free: 42.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.896e-05/0.221, allocations: 56.48 kB / 0.9205 GB, free: 42.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.221, allocations: 4 kB / 0.9205 GB, free: 42.53 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.221, allocations: 11.92 kB / 0.9205 GB, free: 42.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.221, allocations: 3.938 kB / 0.9205 GB, free: 42.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.2215, allocations: 498 kB / 0.921 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.2215, allocations: 4 kB / 0.921 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.2216, allocations: 27.97 kB / 0.921 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001404/0.223, allocations: 397 kB / 0.9214 GB, free: 41.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.2231, allocations: 8 kB / 0.9214 GB, free: 41.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004473/0.2275, allocations: 3.667 MB / 0.925 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2276, allocations: 0 / 0.925 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.2293, allocations: 0.8279 MB / 0.9258 GB, free: 36.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.2295, allocations: 144.5 kB / 0.9259 GB, free: 36.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/0.2296, allocations: 4 kB / 0.9259 GB, free: 36.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003107/0.2299, allocations: 31.91 kB / 0.9259 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.23, allocations: 39.88 kB / 0.926 GB, free: 36.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.23, allocations: 12 kB / 0.926 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002057/0.2302, allocations: 255.2 kB / 0.9262 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2302, allocations: 0 / 0.9262 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009189/0.2311, allocations: 339.4 kB / 0.9266 GB, free: 36.08 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001989/0.2331, allocations: 1.368 MB / 0.9279 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002301/0.2355, allocations: 1.182 MB / 0.929 GB, free: 33.47 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2355, allocations: 0 / 0.929 GB, free: 33.47 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00091/0.2364, allocations: 0.513 MB / 0.9295 GB, free: 32.94 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005909/0.237, allocations: 121.2 kB / 0.9297 GB, free: 32.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007064/0.2441, allocations: 4.667 MB / 0.9342 GB, free: 28.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.2444, allocations: 0.8437 MB / 0.935 GB, free: 27.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001891/0.2446, allocations: 35.27 kB / 0.9351 GB, free: 27.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.2448, allocations: 127.4 kB / 0.9352 GB, free: 27.04 MB / 0.6042 GB Notification: Performance of SimCode: time 6.02e-07/0.2448, allocations: 0 / 0.9352 GB, free: 27.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3208/0.5656, allocations: 15.93 MB / 0.9508 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/0.5658, allocations: 258.3 kB / 0.951 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.306/2.871, allocations: 0 / 0.951 GB, free: 11.13 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)