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 1.473/1.473, allocations: 249.3 MB / 261.8 MB, free: 5.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 178.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0008992/0.0008989, allocations: 82.7 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.359e-05/5.361e-05, allocations: 4 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2782, allocations: 106.3 MB / 0.8919 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9201/1.198, allocations: 138.4 MB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/1.199, allocations: 81.14 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03053/1.229, allocations: 10.14 MB / 1.037 GB, free: 3.652 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.963e-06/1.229, allocations: 0 / 1.037 GB, free: 3.652 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.605e-05/1.229, allocations: 15.94 kB / 1.037 GB, free: 3.637 MB / 0.6511 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.001313/1.231, allocations: 0.6969 MB / 1.038 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/1.231, allocations: 8.031 kB / 1.038 GB, free: 2.914 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/1.231, allocations: 88.64 kB / 1.038 GB, free: 2.844 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/1.231, allocations: 59.3 kB / 1.038 GB, free: 2.785 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005531/1.231, allocations: 340.4 kB / 1.038 GB, free: 2.453 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/1.232, allocations: 30.88 kB / 1.038 GB, free: 2.438 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/1.232, allocations: 44.69 kB / 1.038 GB, free: 2.406 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006802/1.232, allocations: 377.4 kB / 1.039 GB, free: 2.152 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/1.232, allocations: 3.984 kB / 1.039 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/1.232, allocations: 14.44 kB / 1.039 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/1.232, allocations: 15.95 kB / 1.039 GB, free: 2.129 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005338/1.233, allocations: 299.8 kB / 1.039 GB, free: 1.938 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002196/1.235, allocations: 1.292 MB / 1.04 GB, free: 0.8789 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006678/1.236, allocations: 381.7 kB / 1.041 GB, free: 0.6289 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003075/1.236, allocations: 220.5 kB / 1.041 GB, free: 0.4961 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.291e-05/1.236, allocations: 4 kB / 1.041 GB, free: 0.4922 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/1.236, allocations: 38.25 kB / 1.041 GB, free: 460 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=41): time 1.804e-06/1.236, allocations: 3.938 kB / 1.041 GB, free: 456 kB / 0.6511 GB Notification: Performance of matching and sorting (n=41): time 0.00194/1.238, allocations: 0.6744 MB / 1.041 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/1.238, allocations: 55.41 kB / 1.041 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003381/1.239, allocations: 305.6 kB / 1.042 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/1.239, allocations: 33.08 kB / 1.042 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/1.239, allocations: 215 kB / 1.042 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/1.239, allocations: 140.6 kB / 1.042 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/1.239, allocations: 11.88 kB / 1.042 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.239, allocations: 346.1 kB / 1.042 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/1.239, allocations: 116.1 kB / 1.043 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/1.24, allocations: 179.4 kB / 1.043 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/1.24, allocations: 142.6 kB / 1.043 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/1.24, allocations: 0 / 1.043 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001699/1.242, allocations: 0.6684 MB / 1.044 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.461e-05/1.242, allocations: 102 kB / 1.044 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/1.242, allocations: 0 / 1.044 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/1.243, allocations: 422.5 kB / 1.044 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/1.243, allocations: 35.91 kB / 1.044 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/1.245, allocations: 1.049 MB / 1.045 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/1.245, allocations: 53.7 kB / 1.045 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/1.245, allocations: 10.81 kB / 1.045 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/1.245, allocations: 4 kB / 1.045 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001983/1.247, allocations: 0.6371 MB / 1.046 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/1.247, allocations: 0 / 1.046 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001834/1.249, allocations: 432.9 kB / 1.046 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/1.249, allocations: 27.98 kB / 1.046 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006074/1.255, allocations: 3.676 MB / 1.05 GB, free: 8.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005212/1.256, allocations: 50.7 kB / 1.05 GB, free: 8.887 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/1.256, allocations: 7 kB / 1.05 GB, free: 8.883 MB / 0.6667 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 () * 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.0001546/1.256, allocations: 129.4 kB / 1.05 GB, free: 8.762 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.732e-05/1.256, allocations: 43.48 kB / 1.05 GB, free: 8.719 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/1.256, allocations: 61.06 kB / 1.05 GB, free: 8.688 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/1.256, allocations: 4 kB / 1.05 GB, free: 8.684 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/1.256, allocations: 0 / 1.05 GB, free: 8.684 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/1.256, allocations: 3.984 kB / 1.05 GB, free: 8.68 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006165/1.257, allocations: 495 kB / 1.051 GB, free: 8.258 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.257, allocations: 0 / 1.051 GB, free: 8.258 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/1.257, allocations: 35.92 kB / 1.051 GB, free: 8.223 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/1.259, allocations: 393.7 kB / 1.051 GB, free: 7.895 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/1.259, allocations: 10.56 kB / 1.051 GB, free: 7.891 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005274/1.264, allocations: 3.641 MB / 1.055 GB, free: 5.02 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.264, allocations: 0 / 1.055 GB, free: 5.02 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/1.266, allocations: 0.7836 MB / 1.055 GB, free: 4.375 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/1.266, allocations: 146.7 kB / 1.055 GB, free: 4.227 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/1.266, allocations: 10.81 kB / 1.055 GB, free: 4.223 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/1.266, allocations: 15.23 kB / 1.055 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/1.266, allocations: 43.52 kB / 1.056 GB, free: 4.176 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/1.267, allocations: 4 kB / 1.056 GB, free: 4.172 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002928/1.267, allocations: 248.7 kB / 1.056 GB, free: 3.98 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/1.267, allocations: 0 / 1.056 GB, free: 3.98 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009028/1.268, allocations: 287.6 kB / 1.056 GB, free: 3.723 MB / 0.6667 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 () * 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.002064/1.27, allocations: 1.318 MB / 1.057 GB, free: 2.535 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002348/1.272, allocations: 0.8937 MB / 1.058 GB, free: 1.844 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.272, allocations: 4 kB / 1.058 GB, free: 1.84 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009973/1.273, allocations: 485.8 kB / 1.059 GB, free: 1.453 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006091/1.274, allocations: 109.2 kB / 1.059 GB, free: 1.371 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/1.275, allocations: 0.6489 MB / 1.059 GB, free: 0.7656 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/1.276, allocations: 0.8526 MB / 1.06 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002445/1.276, allocations: 47.25 kB / 1.06 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/1.276, allocations: 126.9 kB / 1.06 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of SimCode: time 1.493e-06/1.276, allocations: 0 / 1.06 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04603/1.322, allocations: 14.83 MB / 1.075 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002674/1.323, allocations: 210.5 kB / 1.075 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/3.851, allocations: 0 / 1.075 GB, free: 1.016 MB / 0.6823 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)