Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002356/0.002356, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.077/3.077, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.03/3.03, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007884/0.0007885, allocations: 19.81 kB / 0.6737 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331/2.332, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.4963/2.828, allocations: 2.66 MB / 0.7898 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001995/2.83, allocations: 0.8973 MB / 0.7907 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002341/2.83, allocations: 4 kB / 0.7907 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001658/2.831, allocations: 39.62 kB / 0.7908 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004719/2.831, allocations: 175.5 kB / 0.7909 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005195/2.832, allocations: 143.8 kB / 0.7911 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006908/2.832, allocations: 424.1 kB / 0.7915 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004059/2.833, allocations: 179.4 kB / 0.7916 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003096/2.833, allocations: 199.3 kB / 0.7918 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004514/2.833, allocations: 239 kB / 0.792 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.051e-05/2.834, allocations: 28 kB / 0.7921 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.39e-05/2.834, allocations: 24 kB / 0.7921 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/2.834, allocations: 91.64 kB / 0.7922 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/2.834, allocations: 109.5 kB / 0.7923 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005722/2.835, allocations: 415.1 kB / 0.7927 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/2.835, allocations: 0 / 0.7927 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/2.835, allocations: 0 / 0.7927 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.503e-06/2.835, allocations: 0 / 0.7927 GB, free: 6.238 MB / 0.6075 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.00189/2.836, allocations: 0.7561 MB / 0.7934 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/2.837, allocations: 12.02 kB / 0.7934 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001343/2.837, allocations: 78.53 kB / 0.7935 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/2.837, allocations: 55.34 kB / 0.7936 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006101/2.837, allocations: 342 kB / 0.7939 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.283e-05/2.838, allocations: 33 kB / 0.7939 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.692e-05/2.838, allocations: 40 kB / 0.794 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/2.839, allocations: 402.5 kB / 0.7943 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/2.839, allocations: 0 / 0.7943 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.085e-05/2.839, allocations: 15.98 kB / 0.7944 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/2.839, allocations: 12 kB / 0.7944 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/2.84, allocations: 347.8 kB / 0.7947 GB, free: 4.07 MB / 0.6075 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.003358/2.843, allocations: 1.493 MB / 0.7962 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/2.844, allocations: 412.3 kB / 0.7966 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.72e-05/2.844, allocations: 4 kB / 0.7966 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/2.845, allocations: 50.48 kB / 0.7966 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 2.374e-06/2.845, allocations: 0 / 0.7966 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.01241/2.857, allocations: 1.806 MB / 0.7984 GB, free: 176 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/2.857, allocations: 55.41 kB / 0.7984 GB, free: 108 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006032/2.858, allocations: 349.6 kB / 0.7988 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/2.858, allocations: 37.7 kB / 0.7988 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/2.858, allocations: 216.6 kB / 0.799 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/2.858, allocations: 137.9 kB / 0.7991 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/2.858, allocations: 8 kB / 0.7991 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001778/2.858, allocations: 350.8 kB / 0.7995 GB, free: 15 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000458/2.859, allocations: 135.9 kB / 0.7996 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005478/2.859, allocations: 209.9 kB / 0.7998 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004898/2.86, allocations: 155.9 kB / 0.7999 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/2.86, allocations: 0 / 0.7999 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.003182/2.863, allocations: 0.7399 MB / 0.8007 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.19e-05/2.863, allocations: 96.95 kB / 0.8008 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/2.863, allocations: 0 / 0.8008 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00276/2.866, allocations: 445 kB / 0.8012 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/2.866, allocations: 39.91 kB / 0.8012 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009856/2.876, allocations: 3.949 MB / 0.8051 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002775/2.879, allocations: 55.64 kB / 0.8051 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/2.879, allocations: 8 kB / 0.8051 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/2.879, allocations: 4 kB / 0.8051 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003063/2.882, allocations: 0.6797 MB / 0.8058 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/2.882, allocations: 0 / 0.8058 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002554/2.885, allocations: 428.9 kB / 0.8062 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/2.885, allocations: 35.98 kB / 0.8063 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007619/2.893, allocations: 3.796 MB / 0.81 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004541/2.893, allocations: 51.64 kB / 0.81 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/2.893, allocations: 12 kB / 0.81 GB, free: 3.879 MB / 0.6231 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.0002273/2.893, allocations: 229.1 kB / 0.8102 GB, free: 3.645 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.836e-05/2.893, allocations: 43.48 kB / 0.8103 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/2.894, allocations: 60.48 kB / 0.8103 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/2.894, allocations: 8 kB / 0.8103 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/2.894, allocations: 0 / 0.8103 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/2.894, allocations: 3.984 kB / 0.8104 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005737/2.894, allocations: 0.4903 MB / 0.8108 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/2.894, allocations: 4 kB / 0.8108 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/2.894, allocations: 27.92 kB / 0.8109 GB, free: 2.961 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001435/2.896, allocations: 401 kB / 0.8112 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/2.896, allocations: 8 kB / 0.8113 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00519/2.901, allocations: 3.759 MB / 0.8149 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/2.901, allocations: 8 kB / 0.8149 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/2.903, allocations: 0.8124 MB / 0.8157 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/2.903, allocations: 152.5 kB / 0.8159 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/2.903, allocations: 8 kB / 0.8159 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/2.903, allocations: 27.98 kB / 0.8159 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.013e-05/2.903, allocations: 35.89 kB / 0.8159 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/2.903, allocations: 8 kB / 0.8159 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002372/2.904, allocations: 255.2 kB / 0.8162 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/2.904, allocations: 0 / 0.8162 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009683/2.905, allocations: 343.4 kB / 0.8165 GB, free: 13 MB / 0.6387 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.002008/2.907, allocations: 1.36 MB / 0.8178 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004271/2.911, allocations: 1.178 MB / 0.819 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/2.911, allocations: 0 / 0.819 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/2.912, allocations: 0.5094 MB / 0.8195 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/2.912, allocations: 101.3 kB / 0.8196 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004893/2.917, allocations: 2.764 MB / 0.8223 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/2.918, allocations: 0.8514 MB / 0.8231 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001567/2.918, allocations: 35.28 kB / 0.8232 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/2.918, allocations: 139.3 kB / 0.8233 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of SimCode: time 4.61e-07/2.918, allocations: 0 / 0.8233 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.283/4.202, allocations: 15.58 MB / 0.8385 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003202/4.202, allocations: 222.3 kB / 0.8387 GB, free: 6.414 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.645/7.847, allocations: 0 / 0.8387 GB, free: 6.414 MB / 0.6544 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1) Environment - environmentSimulation: