Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.571/2.571, allocations: 287.3 MB / 302.3 MB, free: 8.371 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.00161/0.001609, allocations: 170.8 kB / 370.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.193/2.193, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001206/0.001206, allocations: 81.98 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005009/0.000501, allocations: 12.95 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2306, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.003849/0.2345, allocations: 2.667 MB / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00212/0.2367, allocations: 0.8896 MB / 0.9818 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003731/0.2371, allocations: 8 kB / 0.9818 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.2373, allocations: 43.56 kB / 0.9818 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000545/0.2379, allocations: 171.5 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000676/0.2386, allocations: 140.9 kB / 0.9821 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007842/0.2394, allocations: 432.1 kB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004136/0.2398, allocations: 187.4 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003121/0.2401, allocations: 191.3 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004474/0.2406, allocations: 239 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.431e-05/0.2407, allocations: 24 kB / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.2408, allocations: 27.94 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.2409, allocations: 87.64 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.2411, allocations: 109.5 kB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004995/0.2416, allocations: 419 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2416, allocations: 0 / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.206e-06/0.2416, allocations: 7.984 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.2416, allocations: 0 / 0.9837 GB, free: 22.68 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.001996/0.2436, allocations: 0.7501 MB / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.2437, allocations: 12.02 kB / 0.9845 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001257/0.2438, allocations: 82.52 kB / 0.9846 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.244, allocations: 63.3 kB / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005736/0.2446, allocations: 338.1 kB / 0.985 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.2446, allocations: 29 kB / 0.985 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.597e-05/0.2447, allocations: 51.94 kB / 0.985 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.2458, allocations: 390.5 kB / 0.9854 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.2458, allocations: 0 / 0.9854 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.371e-05/0.2459, allocations: 16 kB / 0.9854 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.2459, allocations: 16 kB / 0.9854 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.2469, allocations: 343.8 kB / 0.9858 GB, free: 20.51 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.003443/0.2504, allocations: 1.489 MB / 0.9872 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.2516, allocations: 404.6 kB / 0.9876 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.185e-05/0.2517, allocations: 11.92 kB / 0.9876 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.2517, allocations: 39.23 kB / 0.9877 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 4.058e-06/0.2517, allocations: 0 / 0.9877 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.01326/0.265, allocations: 1.81 MB / 0.9894 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.2651, allocations: 59.41 kB / 0.9895 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000559/0.2657, allocations: 353.6 kB / 0.9898 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.246e-05/0.2658, allocations: 33.7 kB / 0.9898 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.2659, allocations: 216.6 kB / 0.9901 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.2661, allocations: 137.9 kB / 0.9902 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.2661, allocations: 8 kB / 0.9902 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.2662, allocations: 350.8 kB / 0.9905 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/0.2667, allocations: 135.9 kB / 0.9907 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/0.2673, allocations: 197.9 kB / 0.9908 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004915/0.2678, allocations: 168.5 kB / 0.991 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.2678, allocations: 0 / 0.991 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.003357/0.2712, allocations: 0.7315 MB / 0.9917 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.624e-05/0.2713, allocations: 97.31 kB / 0.9918 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2713, allocations: 0 / 0.9918 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002959/0.2743, allocations: 448.4 kB / 0.9922 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.2746, allocations: 39.97 kB / 0.9923 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009446/0.284, allocations: 3.947 MB / 0.9961 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008384/0.2849, allocations: 51.64 kB / 0.9962 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.285, allocations: 8 kB / 0.9962 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.285, allocations: 4 kB / 0.9962 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003068/0.2881, allocations: 0.6719 MB / 0.9968 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.2881, allocations: 0 / 0.9968 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002686/0.2908, allocations: 433 kB / 0.9973 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.2911, allocations: 27.98 kB / 0.9973 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008493/0.2997, allocations: 3.815 MB / 1.001 GB, free: 4.387 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008275/0.3005, allocations: 51.77 kB / 1.001 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.3006, allocations: 12 kB / 1.001 GB, free: 4.324 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.0002906/0.3009, allocations: 235.3 kB / 1.001 GB, free: 4.086 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.301, allocations: 43.48 kB / 1.001 GB, free: 4.043 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.3011, allocations: 68.41 kB / 1.001 GB, free: 3.977 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.3012, allocations: 4 kB / 1.001 GB, free: 3.973 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3012, allocations: 0 / 1.001 GB, free: 3.973 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.3012, allocations: 3.984 kB / 1.001 GB, free: 3.969 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007532/0.302, allocations: 0.49 MB / 1.002 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.302, allocations: 0 / 1.002 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.3022, allocations: 31.94 kB / 1.002 GB, free: 3.395 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002576/0.3048, allocations: 388.8 kB / 1.002 GB, free: 3.012 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.439e-05/0.3049, allocations: 11.98 kB / 1.002 GB, free: 3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008782/0.3137, allocations: 3.765 MB / 1.006 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3138, allocations: 0 / 1.006 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003423/0.3172, allocations: 0.8151 MB / 1.007 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003456/0.3176, allocations: 156.5 kB / 1.007 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.124e-05/0.3177, allocations: 11.94 kB / 1.007 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005564/0.3183, allocations: 19.98 kB / 1.007 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002367/0.3185, allocations: 35.73 kB / 1.007 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.3186, allocations: 12 kB / 1.007 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004581/0.319, allocations: 255.2 kB / 1.007 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/0.319, allocations: 4 kB / 1.007 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001589/0.3206, allocations: 343.4 kB / 1.008 GB, free: 13.43 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.003903/0.3246, allocations: 1.354 MB / 1.009 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004572/0.3292, allocations: 1.179 MB / 1.01 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.3293, allocations: 0 / 1.01 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001966/0.3312, allocations: 0.5097 MB / 1.011 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.3323, allocations: 109.3 kB / 1.011 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008971/0.3413, allocations: 2.731 MB / 1.013 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006331/0.342, allocations: 0.8593 MB / 1.014 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003014/0.3423, allocations: 31.28 kB / 1.014 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/0.3426, allocations: 131.4 kB / 1.014 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of SimCode: time 3.606e-06/0.3426, allocations: 0 / 1.014 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06339/0.406, allocations: 15.61 MB / 1.03 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004018/0.4065, allocations: 237.2 kB / 1.03 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.97/3.376, allocations: 7.125 kB / 1.03 GB, free: 6.844 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1)