Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.225/2.225, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 175 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.68/1.68, allocations: 223.1 MB / 0.7948 GB, free: 17.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009492/0.0009492, allocations: 98.36 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003776, allocations: 10.41 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3248, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2059/0.5308, allocations: 155.9 MB / 1.375 GB, free: 6.039 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003577/0.5312, allocations: 87.92 kB / 1.375 GB, free: 5.953 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0322/0.5634, allocations: 10.17 MB / 1.385 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.246e-06/0.5635, allocations: 0 / 1.385 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.026e-05/0.5635, allocations: 8 kB / 1.385 GB, free: 11.7 MB / 0.8855 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.001531/0.5651, allocations: 0.7521 MB / 1.386 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.036e-05/0.5652, allocations: 8.031 kB / 1.386 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.5653, allocations: 82.52 kB / 1.386 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.5654, allocations: 59.34 kB / 1.386 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005959/0.566, allocations: 343 kB / 1.386 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.047e-05/0.5661, allocations: 40.88 kB / 1.386 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.065e-05/0.5662, allocations: 40 kB / 1.387 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008116/0.567, allocations: 402.5 kB / 1.387 GB, free: 9.895 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.567, allocations: 0 / 1.387 GB, free: 9.895 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.534e-05/0.5671, allocations: 19.95 kB / 1.387 GB, free: 9.875 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.5671, allocations: 8 kB / 1.387 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00069/0.5678, allocations: 343.8 kB / 1.387 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002525/0.5703, allocations: 1.3 MB / 1.389 GB, free: 8.18 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000784/0.5711, allocations: 395.2 kB / 1.389 GB, free: 7.781 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.935e-05/0.5712, allocations: 4 kB / 1.389 GB, free: 7.777 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.453e-05/0.5712, allocations: 46.52 kB / 1.389 GB, free: 7.723 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=41): time 2.424e-06/0.5713, allocations: 0 / 1.389 GB, free: 7.723 MB / 0.8855 GB Notification: Performance of matching and sorting (n=41): time 0.007211/0.5785, allocations: 1.692 MB / 1.391 GB, free: 6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.5786, allocations: 55.41 kB / 1.391 GB, free: 5.934 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005138/0.5791, allocations: 308.9 kB / 1.391 GB, free: 5.625 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.279e-05/0.5792, allocations: 33.7 kB / 1.391 GB, free: 5.586 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.5794, allocations: 216.6 kB / 1.391 GB, free: 5.367 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.5796, allocations: 141.9 kB / 1.391 GB, free: 5.227 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/0.5796, allocations: 4 kB / 1.391 GB, free: 5.223 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002167/0.5799, allocations: 346.8 kB / 1.392 GB, free: 4.875 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.5802, allocations: 135.9 kB / 1.392 GB, free: 4.742 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004089/0.5806, allocations: 213.8 kB / 1.392 GB, free: 4.512 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/0.5809, allocations: 159.9 kB / 1.392 GB, free: 4.355 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.5809, allocations: 3.984 kB / 1.392 GB, free: 4.352 MB / 0.8855 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002007/0.5829, allocations: 0.7126 MB / 1.393 GB, free: 3.629 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.5831, allocations: 96.98 kB / 1.393 GB, free: 3.527 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.5831, allocations: 3.953 kB / 1.393 GB, free: 3.523 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001725/0.5848, allocations: 428.5 kB / 1.393 GB, free: 3.102 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.585, allocations: 27.97 kB / 1.393 GB, free: 3.074 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.5867, allocations: 1.063 MB / 1.394 GB, free: 1.984 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005317/0.5872, allocations: 43.67 kB / 1.394 GB, free: 1.941 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.5873, allocations: 12 kB / 1.394 GB, free: 1.93 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.5873, allocations: 8 kB / 1.394 GB, free: 1.922 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001982/0.5893, allocations: 0.672 MB / 1.395 GB, free: 1.246 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-06/0.5893, allocations: 0 / 1.395 GB, free: 1.246 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001731/0.591, allocations: 432.7 kB / 1.396 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.5912, allocations: 31.91 kB / 1.396 GB, free: 0.7891 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006346/0.5975, allocations: 3.795 MB / 1.399 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005666/0.5982, allocations: 51.58 kB / 1.399 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.5982, allocations: 12 kB / 1.399 GB, free: 12.8 MB / 0.9011 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.0003266/0.5985, allocations: 229.1 kB / 1.4 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-05/0.5986, allocations: 47.48 kB / 1.4 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.5988, allocations: 64.42 kB / 1.4 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.5988, allocations: 4 kB / 1.4 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5988, allocations: 0 / 1.4 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.5988, allocations: 3.984 kB / 1.4 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006545/0.5994, allocations: 497.9 kB / 1.4 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5995, allocations: 0 / 1.4 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.5996, allocations: 27.98 kB / 1.4 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001534/0.6011, allocations: 404.7 kB / 1.401 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.6012, allocations: 4 kB / 1.401 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005927/0.6071, allocations: 3.765 MB / 1.404 GB, free: 7.574 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.6071, allocations: 0 / 1.404 GB, free: 7.574 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.6092, allocations: 0.8201 MB / 1.405 GB, free: 6.734 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002102/0.6094, allocations: 144.5 kB / 1.405 GB, free: 6.574 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.6095, allocations: 4 kB / 1.405 GB, free: 6.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.6098, allocations: 27.92 kB / 1.405 GB, free: 6.543 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.6099, allocations: 39.88 kB / 1.405 GB, free: 6.504 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.6099, allocations: 8 kB / 1.405 GB, free: 6.496 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000349/0.6103, allocations: 251.2 kB / 1.405 GB, free: 6.25 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6103, allocations: 0 / 1.405 GB, free: 6.25 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0009594/0.6113, allocations: 295.4 kB / 1.406 GB, free: 5.961 MB / 0.9011 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.002399/0.6137, allocations: 1.36 MB / 1.407 GB, free: 4.566 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002587/0.6163, allocations: 0.9691 MB / 1.408 GB, free: 3.582 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6163, allocations: 0 / 1.408 GB, free: 3.582 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.6174, allocations: 0.4937 MB / 1.409 GB, free: 3.074 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005767/0.618, allocations: 109.3 kB / 1.409 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005302/0.6233, allocations: 2.721 MB / 1.411 GB, free: 208 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/0.6239, allocations: 0.8515 MB / 1.412 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002213/0.6241, allocations: 35.27 kB / 1.412 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.6243, allocations: 135.4 kB / 1.412 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of SimCode: time 7.31e-07/0.6243, allocations: 0 / 1.412 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03734/0.6616, allocations: 14.44 MB / 1.426 GB, free: 1.027 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003738/0.6621, allocations: 237.2 kB / 1.427 GB, free: 0.7734 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.358/3.021, allocations: 0 / 1.427 GB, free: 0.7734 MB / 0.9167 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat does not exist to compare? outputFormat=mat