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 2.314/2.314, allocations: 252 MB / 267.3 MB, free: 10.84 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.001628/0.001628, allocations: 174.4 kB / 327 MB, free: 2.129 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.435/3.435, allocations: 205.4 MB / 0.578 GB, free: 20.19 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.001361/0.00136, allocations: 95.84 kB / 0.6826 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005976/0.000598, allocations: 15.02 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3857, allocations: 106.3 MB / 0.9009 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.005111/0.3909, allocations: 2.953 MB / 0.9038 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002579/0.3935, allocations: 0.8926 MB / 0.9047 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004185/0.394, allocations: 7.938 kB / 0.9047 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.3943, allocations: 43.62 kB / 0.9047 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006079/0.3949, allocations: 146.8 kB / 0.9049 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007609/0.3957, allocations: 157.3 kB / 0.905 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007647/0.3965, allocations: 0.6195 MB / 0.9056 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005715/0.397, allocations: 215.5 kB / 0.9058 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003199/0.3974, allocations: 199.2 kB / 0.906 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004825/0.3979, allocations: 254.8 kB / 0.9063 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.593e-05/0.398, allocations: 24 kB / 0.9063 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.3981, allocations: 24 kB / 0.9063 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.3983, allocations: 91.53 kB / 0.9064 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003326/0.3986, allocations: 256.4 kB / 0.9066 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006217/0.3992, allocations: 0.5294 MB / 0.9072 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.3993, allocations: 4 kB / 0.9072 GB, free: 57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.238e-06/0.3993, allocations: 0 / 0.9072 GB, free: 57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.3993, allocations: 4 kB / 0.9072 GB, free: 57 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.002047/0.4014, allocations: 0.7445 MB / 0.9079 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 9.776e-05/0.4015, allocations: 12.03 kB / 0.9079 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001472/0.4016, allocations: 90.64 kB / 0.908 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.4018, allocations: 56.28 kB / 0.908 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006188/0.4024, allocations: 335.2 kB / 0.9084 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.933e-05/0.4025, allocations: 37.38 kB / 0.9084 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.641e-05/0.4026, allocations: 40.38 kB / 0.9084 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009671/0.4036, allocations: 414.5 kB / 0.9088 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.4036, allocations: 0 / 0.9088 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.739e-05/0.4037, allocations: 20 kB / 0.9089 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.4037, allocations: 8 kB / 0.9089 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009911/0.4047, allocations: 343.8 kB / 0.9092 GB, free: 54.82 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.003046/0.4078, allocations: 1.497 MB / 0.9106 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009846/0.4087, allocations: 406.7 kB / 0.911 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005381/0.4093, allocations: 240.8 kB / 0.9113 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.872e-05/0.4094, allocations: 11.94 kB / 0.9113 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.4094, allocations: 34.56 kB / 0.9113 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 3.797e-06/0.4094, allocations: 4 kB / 0.9113 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=41): time 0.01108/0.4205, allocations: 1.843 MB / 0.9131 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.4206, allocations: 59.34 kB / 0.9132 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006154/0.4213, allocations: 349.7 kB / 0.9135 GB, free: 50.22 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.072e-05/0.4213, allocations: 33.7 kB / 0.9135 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.4216, allocations: 224.6 kB / 0.9138 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.4217, allocations: 145.9 kB / 0.9139 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.4218, allocations: 4 kB / 0.9139 GB, free: 49.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4219, allocations: 346.8 kB / 0.9142 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/0.4223, allocations: 143.9 kB / 0.9144 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004705/0.4228, allocations: 209.9 kB / 0.9146 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000907/0.4237, allocations: 341.4 kB / 0.9149 GB, free: 48.76 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.4238, allocations: 0 / 0.9149 GB, free: 48.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.003029/0.4268, allocations: 0.7547 MB / 0.9156 GB, free: 48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.4269, allocations: 104.9 kB / 0.9157 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.427, allocations: 0 / 0.9157 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00238/0.4293, allocations: 453 kB / 0.9162 GB, free: 47.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.4296, allocations: 31.92 kB / 0.9162 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008153/0.4377, allocations: 3.848 MB / 0.9199 GB, free: 43.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008417/0.4386, allocations: 55.64 kB / 0.92 GB, free: 43.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-05/0.4387, allocations: 8 kB / 0.92 GB, free: 43.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.4387, allocations: 4 kB / 0.92 GB, free: 43.38 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002468/0.4412, allocations: 0.6756 MB / 0.9207 GB, free: 42.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.4412, allocations: 3.938 kB / 0.9207 GB, free: 42.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002044/0.4433, allocations: 440.9 kB / 0.9211 GB, free: 42.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.4435, allocations: 23.98 kB / 0.9211 GB, free: 42.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007137/0.4506, allocations: 3.696 MB / 0.9247 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007343/0.4514, allocations: 59.56 kB / 0.9248 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/0.4515, allocations: 7.938 kB / 0.9248 GB, free: 38.34 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.0003498/0.4519, allocations: 231.9 kB / 0.925 GB, free: 38.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.844e-05/0.452, allocations: 43.53 kB / 0.9251 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.4521, allocations: 60.47 kB / 0.9251 GB, free: 38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.4521, allocations: 8 kB / 0.9251 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4521, allocations: 0 / 0.9251 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.4521, allocations: 3.938 kB / 0.9251 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007236/0.4529, allocations: 498.1 kB / 0.9256 GB, free: 37.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.4529, allocations: 4 kB / 0.9256 GB, free: 37.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.4531, allocations: 27.97 kB / 0.9256 GB, free: 37.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001973/0.455, allocations: 404.9 kB / 0.926 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/0.4551, allocations: 8 kB / 0.926 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007256/0.4624, allocations: 3.663 MB / 0.9296 GB, free: 33.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.4624, allocations: 3.984 kB / 0.9296 GB, free: 33.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002847/0.4653, allocations: 0.8316 MB / 0.9304 GB, free: 32.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002789/0.4656, allocations: 144.5 kB / 0.9306 GB, free: 32.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.016e-05/0.4657, allocations: 4 kB / 0.9306 GB, free: 32.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005128/0.4662, allocations: 31.92 kB / 0.9306 GB, free: 32.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/0.4664, allocations: 39.88 kB / 0.9306 GB, free: 32.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/0.4665, allocations: 8 kB / 0.9306 GB, free: 32.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003686/0.4668, allocations: 259.1 kB / 0.9309 GB, free: 31.87 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4669, allocations: 0 / 0.9309 GB, free: 31.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001659/0.4685, allocations: 339.4 kB / 0.9312 GB, free: 31.54 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.003134/0.4717, allocations: 1.368 MB / 0.9325 GB, free: 30.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003726/0.4754, allocations: 1.183 MB / 0.9337 GB, free: 28.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.4754, allocations: 0 / 0.9337 GB, free: 28.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001471/0.4769, allocations: 0.5049 MB / 0.9342 GB, free: 28.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.4781, allocations: 119.1 kB / 0.9343 GB, free: 28.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.4899, allocations: 4.698 MB / 0.9389 GB, free: 23.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005384/0.4905, allocations: 0.8398 MB / 0.9397 GB, free: 22.63 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003498/0.4909, allocations: 39.27 kB / 0.9397 GB, free: 22.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/0.4911, allocations: 131.4 kB / 0.9399 GB, free: 22.47 MB / 0.6042 GB Notification: Performance of SimCode: time 2.004e-06/0.4912, allocations: 0 / 0.9399 GB, free: 22.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04954/0.5407, allocations: 15.91 MB / 0.9554 GB, free: 6.863 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003114/0.5411, allocations: 266.5 kB / 0.9557 GB, free: 6.562 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.986/5.527, allocations: 4 kB / 0.9557 GB, free: 6.559 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)