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.578/2.578, allocations: 287.5 MB / 302.4 MB, free: 8.285 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.001406/0.001406, allocations: 182.2 kB / 371 MB, free: 10.85 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.044/2.044, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009663/0.0009661, allocations: 93.28 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005255/0.0005257, allocations: 12.86 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2073, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.003781/0.2111, allocations: 2.815 MB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.2128, allocations: 0.867 MB / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.2131, allocations: 4 kB / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.2133, allocations: 43.56 kB / 0.9821 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003979/0.2137, allocations: 146.9 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005082/0.2142, allocations: 133 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006521/0.2149, allocations: 0.5922 MB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003683/0.2152, allocations: 179.4 kB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/0.2155, allocations: 195.3 kB / 0.9833 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004171/0.216, allocations: 242.9 kB / 0.9835 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.337e-05/0.2161, allocations: 24 kB / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.2162, allocations: 28 kB / 0.9836 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.2163, allocations: 87.59 kB / 0.9837 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.2164, allocations: 109.5 kB / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004365/0.2169, allocations: 411.1 kB / 0.9842 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2169, allocations: 4 kB / 0.9842 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2169, allocations: 3.938 kB / 0.9842 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.2169, allocations: 0 / 0.9842 GB, free: 22.36 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.001801/0.2187, allocations: 0.7561 MB / 0.9849 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.2188, allocations: 12.02 kB / 0.9849 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.2189, allocations: 74.53 kB / 0.985 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.219, allocations: 63.3 kB / 0.9851 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005335/0.2196, allocations: 342 kB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/0.2196, allocations: 29 kB / 0.9854 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.881e-05/0.2197, allocations: 44 kB / 0.9854 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009833/0.2207, allocations: 406.4 kB / 0.9858 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.2208, allocations: 3.984 kB / 0.9858 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.425e-05/0.2208, allocations: 16 kB / 0.9859 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.2208, allocations: 12 kB / 0.9859 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009687/0.2218, allocations: 339.8 kB / 0.9862 GB, free: 20.18 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.002918/0.2248, allocations: 1.485 MB / 0.9876 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.2258, allocations: 415 kB / 0.988 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005634/0.2264, allocations: 245 kB / 0.9883 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.338e-05/0.2264, allocations: 8 kB / 0.9883 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.2265, allocations: 34.56 kB / 0.9883 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 3.136e-06/0.2265, allocations: 0 / 0.9883 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.01291/0.2394, allocations: 1.822 MB / 0.9901 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.2395, allocations: 55.41 kB / 0.9901 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004496/0.24, allocations: 349.7 kB / 0.9905 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/0.24, allocations: 33.7 kB / 0.9905 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.2402, allocations: 212.6 kB / 0.9907 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.2403, allocations: 141.9 kB / 0.9908 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.2403, allocations: 4 kB / 0.9908 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.404e-05/0.2404, allocations: 350.8 kB / 0.9912 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/0.2409, allocations: 147.9 kB / 0.9913 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000489/0.2414, allocations: 197.9 kB / 0.9915 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004673/0.2418, allocations: 168.6 kB / 0.9917 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2419, allocations: 0 / 0.9917 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.003149/0.245, allocations: 0.7315 MB / 0.9924 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.77e-05/0.2451, allocations: 104 kB / 0.9925 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2451, allocations: 0 / 0.9925 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002832/0.2479, allocations: 448.4 kB / 0.9929 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.2482, allocations: 28.05 kB / 0.9929 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008579/0.2568, allocations: 3.848 MB / 0.9967 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007816/0.2576, allocations: 47.73 kB / 0.9967 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.2576, allocations: 12 kB / 0.9968 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.2577, allocations: 9.859 kB / 0.9968 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002976/0.2607, allocations: 0.672 MB / 0.9974 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2607, allocations: 0 / 0.9974 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002561/0.2633, allocations: 428.9 kB / 0.9978 GB, free: 7.898 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.2635, allocations: 36.05 kB / 0.9979 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007676/0.2712, allocations: 3.694 MB / 1.001 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007887/0.272, allocations: 55.62 kB / 1.002 GB, free: 3.977 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.2721, allocations: 12 kB / 1.002 GB, free: 3.965 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.0002703/0.2724, allocations: 229 kB / 1.002 GB, free: 3.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.589e-05/0.2725, allocations: 51.48 kB / 1.002 GB, free: 3.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.2726, allocations: 56.48 kB / 1.002 GB, free: 3.625 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.2726, allocations: 4 kB / 1.002 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2726, allocations: 0 / 1.002 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2727, allocations: 0 / 1.002 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007132/0.2734, allocations: 0.4902 MB / 1.002 GB, free: 3.078 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.2734, allocations: 3.953 kB / 1.002 GB, free: 3.074 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.2736, allocations: 27.98 kB / 1.002 GB, free: 3.047 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002467/0.2761, allocations: 388.8 kB / 1.003 GB, free: 2.664 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.2761, allocations: 4 kB / 1.003 GB, free: 2.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008067/0.2842, allocations: 3.675 MB / 1.006 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2843, allocations: 256 / 1.006 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003228/0.2875, allocations: 0.8227 MB / 1.007 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002487/0.2878, allocations: 148.5 kB / 1.007 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.455e-05/0.2879, allocations: 8 kB / 1.007 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005246/0.2884, allocations: 23.97 kB / 1.007 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.2886, allocations: 35.95 kB / 1.007 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.2886, allocations: 8 kB / 1.007 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003987/0.289, allocations: 259.1 kB / 1.008 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.289, allocations: 0 / 1.008 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001416/0.2904, allocations: 339.4 kB / 1.008 GB, free: 13.19 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.00358/0.294, allocations: 1.36 MB / 1.009 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004166/0.2982, allocations: 1.183 MB / 1.01 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2982, allocations: 0 / 1.01 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001729/0.3, allocations: 0.5058 MB / 1.011 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.301, allocations: 113.3 kB / 1.011 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008108/0.3092, allocations: 2.758 MB / 1.014 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005366/0.3097, allocations: 0.8398 MB / 1.015 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002733/0.31, allocations: 35.27 kB / 1.015 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.3103, allocations: 139.3 kB / 1.015 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of SimCode: time 9.11e-07/0.3103, allocations: 0 / 1.015 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0678/0.3781, allocations: 15.62 MB / 1.03 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003426/0.3785, allocations: 235.5 kB / 1.03 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.19/3.568, allocations: 3.938 kB / 1.03 GB, free: 6.562 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)