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.383/1.383, allocations: 252 MB / 267 MB, free: 10.96 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.001066/0.001066, allocations: 182 kB / 326.6 MB, free: 2.219 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.737/1.737, allocations: 205.4 MB / 0.5776 GB, free: 20.29 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.0008515/0.0008514, allocations: 92.33 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003387, allocations: 11.97 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2058, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.002693/0.2086, allocations: 2.83 MB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.2097, allocations: 0.8617 MB / 0.9039 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.2099, allocations: 4 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.21, allocations: 51.55 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.2103, allocations: 146.9 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.2106, allocations: 131.8 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003806/0.211, allocations: 0.5882 MB / 0.9048 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002554/0.2113, allocations: 191.3 kB / 0.905 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.2114, allocations: 191.3 kB / 0.9052 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.2117, allocations: 239 kB / 0.9054 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.588e-05/0.2118, allocations: 24 kB / 0.9054 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.659e-05/0.2118, allocations: 24 kB / 0.9055 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.934e-05/0.2119, allocations: 95.58 kB / 0.9055 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.063e-05/0.212, allocations: 109.5 kB / 0.9056 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.2123, allocations: 411.2 kB / 0.906 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2123, allocations: 0 / 0.906 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2123, allocations: 0 / 0.906 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.2123, allocations: 0 / 0.906 GB, free: 57.89 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.001173/0.2135, allocations: 0.7561 MB / 0.9068 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2135, allocations: 12.03 kB / 0.9068 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.348e-05/0.2136, allocations: 86.52 kB / 0.9069 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.144e-05/0.2137, allocations: 63.3 kB / 0.9069 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.214, allocations: 330.1 kB / 0.9072 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.2141, allocations: 32.94 kB / 0.9073 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.081e-05/0.2141, allocations: 48 kB / 0.9073 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006321/0.2148, allocations: 398.5 kB / 0.9077 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.2148, allocations: 0 / 0.9077 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/0.2148, allocations: 16 kB / 0.9077 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.2148, allocations: 8 kB / 0.9077 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005553/0.2154, allocations: 347.8 kB / 0.9081 GB, free: 55.71 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.001773/0.2172, allocations: 1.497 MB / 0.9095 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006204/0.2178, allocations: 395 kB / 0.9099 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/0.2182, allocations: 236.8 kB / 0.9101 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/0.2182, allocations: 8 kB / 0.9101 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.2182, allocations: 38.56 kB / 0.9102 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 1.472e-06/0.2182, allocations: 0 / 0.9102 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=41): time 0.006993/0.2252, allocations: 1.812 MB / 0.9119 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.2253, allocations: 59.41 kB / 0.912 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.2256, allocations: 353.6 kB / 0.9123 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.2256, allocations: 37.64 kB / 0.9124 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.2258, allocations: 224.6 kB / 0.9126 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.428e-05/0.2258, allocations: 134 kB / 0.9127 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.2259, allocations: 8 kB / 0.9127 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.002e-05/0.226, allocations: 346.8 kB / 0.913 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.2262, allocations: 135.9 kB / 0.9132 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/0.2265, allocations: 205.9 kB / 0.9134 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.2268, allocations: 168.6 kB / 0.9135 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2268, allocations: 0 / 0.9135 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00178/0.2286, allocations: 0.7315 MB / 0.9142 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.866e-05/0.2287, allocations: 96.98 kB / 0.9143 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.2287, allocations: 4 kB / 0.9143 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001684/0.2304, allocations: 437 kB / 0.9148 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.2305, allocations: 39.97 kB / 0.9148 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005229/0.2358, allocations: 3.84 MB / 0.9185 GB, free: 44.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004648/0.2363, allocations: 55.56 kB / 0.9186 GB, free: 44.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.2363, allocations: 12 kB / 0.9186 GB, free: 44.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.2363, allocations: 4 kB / 0.9186 GB, free: 44.54 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001664/0.238, allocations: 0.6758 MB / 0.9193 GB, free: 43.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.238, allocations: 0 / 0.9193 GB, free: 43.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/0.2395, allocations: 436.4 kB / 0.9197 GB, free: 43.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.2396, allocations: 31.92 kB / 0.9197 GB, free: 43.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004394/0.244, allocations: 3.688 MB / 0.9233 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/0.2445, allocations: 55.66 kB / 0.9234 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.2445, allocations: 8 kB / 0.9234 GB, free: 39.51 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.0001955/0.2447, allocations: 233.1 kB / 0.9236 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.346e-05/0.2448, allocations: 43.48 kB / 0.9236 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.269e-05/0.2448, allocations: 60.48 kB / 0.9237 GB, free: 39.17 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2448, allocations: 7.984 kB / 0.9237 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.2449, allocations: 0 / 0.9237 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2449, allocations: 0 / 0.9237 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004493/0.2453, allocations: 498 kB / 0.9242 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2453, allocations: 8.078 kB / 0.9242 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.2455, allocations: 31.97 kB / 0.9242 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00141/0.2469, allocations: 392.7 kB / 0.9246 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.2469, allocations: 8 kB / 0.9246 GB, free: 38.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00428/0.2512, allocations: 3.663 MB / 0.9282 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2512, allocations: 0 / 0.9282 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.2529, allocations: 0.8161 MB / 0.929 GB, free: 33.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.253, allocations: 152.5 kB / 0.9291 GB, free: 33.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.2531, allocations: 4 kB / 0.9291 GB, free: 33.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/0.2534, allocations: 31.83 kB / 0.9292 GB, free: 33.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.069e-05/0.2535, allocations: 39.88 kB / 0.9292 GB, free: 33.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.2535, allocations: 8 kB / 0.9292 GB, free: 33.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001928/0.2537, allocations: 251.2 kB / 0.9294 GB, free: 33.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2537, allocations: 4 kB / 0.9295 GB, free: 33.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008364/0.2545, allocations: 335.5 kB / 0.9298 GB, free: 32.73 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.001843/0.2564, allocations: 1.36 MB / 0.9311 GB, free: 31.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002154/0.2585, allocations: 1.18 MB / 0.9323 GB, free: 30.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2586, allocations: 3.938 kB / 0.9323 GB, free: 30.13 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008565/0.2594, allocations: 0.5088 MB / 0.9328 GB, free: 29.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000582/0.26, allocations: 121 kB / 0.9329 GB, free: 29.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004265/0.2643, allocations: 2.752 MB / 0.9356 GB, free: 26.69 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.2646, allocations: 0.8437 MB / 0.9364 GB, free: 25.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001453/0.2647, allocations: 31.28 kB / 0.9364 GB, free: 25.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.2648, allocations: 135.4 kB / 0.9365 GB, free: 25.66 MB / 0.6042 GB Notification: Performance of SimCode: time 9.92e-07/0.2648, allocations: 0 / 0.9365 GB, free: 25.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.2909, allocations: 15.62 MB / 0.9518 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/0.2911, allocations: 247.2 kB / 0.952 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.327/2.618, allocations: 1.875 kB / 0.952 GB, free: 10.1 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)