Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.684/1.684, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.00142/0.00142, allocations: 172.9 kB / 361.4 MB, free: 6.855 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.2 MB / 0.62 GB, free: 11.62 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008439/0.0008439, allocations: 88.36 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.261e-05/7.241e-05, allocations: 8 kB / 0.8518 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7966/0.7967, allocations: 115.3 MB / 0.9645 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2158/1.013, allocations: 144 MB / 1.105 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/1.013, allocations: 87.8 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03142/1.044, allocations: 10.07 MB / 1.115 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.044e-06/1.044, allocations: 0 / 1.115 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.995e-05/1.044, allocations: 8 kB / 1.115 GB, free: 1.676 MB / 0.7136 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.001649/1.046, allocations: 0.6974 MB / 1.116 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/1.046, allocations: 8.688 kB / 1.116 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/1.046, allocations: 65.23 kB / 1.116 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007898/1.047, allocations: 343.4 kB / 1.116 GB, free: 492 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/1.047, allocations: 12 kB / 1.116 GB, free: 480 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.071e-05/1.047, allocations: 28 kB / 1.116 GB, free: 452 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006604/1.048, allocations: 286.6 kB / 1.116 GB, free: 164 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006585/1.049, allocations: 308 kB / 1.117 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/1.049, allocations: 11.48 kB / 1.117 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/1.049, allocations: 0 / 1.117 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/1.049, allocations: 16 kB / 1.117 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002616/1.051, allocations: 1.198 MB / 1.118 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007008/1.052, allocations: 373.6 kB / 1.118 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003303/1.052, allocations: 204.8 kB / 1.118 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.047e-05/1.053, allocations: 8 kB / 1.118 GB, free: 14 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/1.053, allocations: 34.56 kB / 1.118 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=41): time 2.785e-06/1.053, allocations: 4 kB / 1.118 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=41): time 0.002024/1.055, allocations: 0.6505 MB / 1.119 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/1.055, allocations: 55.41 kB / 1.119 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/1.055, allocations: 238.3 kB / 1.119 GB, free: 13 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/1.055, allocations: 25.7 kB / 1.119 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/1.055, allocations: 220.2 kB / 1.12 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/1.055, allocations: 134 kB / 1.12 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.938e-05/1.055, allocations: 0 / 1.12 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001747/1.056, allocations: 350.8 kB / 1.12 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/1.056, allocations: 112 kB / 1.12 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/1.056, allocations: 190.8 kB / 1.12 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/1.056, allocations: 127.9 kB / 1.12 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/1.056, allocations: 0 / 1.12 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001845/1.058, allocations: 0.662 MB / 1.121 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.11e-05/1.058, allocations: 89 kB / 1.121 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.058, allocations: 0 / 1.121 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001726/1.06, allocations: 401 kB / 1.122 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/1.06, allocations: 23.98 kB / 1.122 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/1.062, allocations: 1.109 MB / 1.123 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004612/1.062, allocations: 31.73 kB / 1.123 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/1.062, allocations: 16 kB / 1.123 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/1.062, allocations: 4 kB / 1.123 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00171/1.064, allocations: 0.5897 MB / 1.123 GB, free: 8.859 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/1.064, allocations: 3.984 kB / 1.123 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001585/1.066, allocations: 392.8 kB / 1.124 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/1.066, allocations: 31.98 kB / 1.124 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007218/1.073, allocations: 3.559 MB / 1.127 GB, free: 4.758 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004627/1.073, allocations: 39.67 kB / 1.127 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/1.073, allocations: 12 kB / 1.127 GB, free: 4.707 MB / 0.7292 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.0001723/1.074, allocations: 101 kB / 1.127 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001904/1.076, allocations: 0.6237 MB / 1.128 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/1.076, allocations: 39.52 kB / 1.128 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/1.076, allocations: 51.47 kB / 1.128 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/1.076, allocations: 7.953 kB / 1.128 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/1.076, allocations: 0 / 1.128 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.076, allocations: 0 / 1.128 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006611/1.077, allocations: 426.5 kB / 1.128 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.077, allocations: 1.375 kB / 1.128 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/1.077, allocations: 31.97 kB / 1.129 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001625/1.078, allocations: 393.2 kB / 1.129 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/1.078, allocations: 0 / 1.129 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005786/1.084, allocations: 3.528 MB / 1.132 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/1.084, allocations: 0 / 1.132 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/1.086, allocations: 0.737 MB / 1.133 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/1.086, allocations: 140.6 kB / 1.133 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.847e-05/1.086, allocations: 3.953 kB / 1.133 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/1.087, allocations: 21.11 kB / 1.133 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/1.087, allocations: 31.95 kB / 1.133 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-05/1.087, allocations: 12 kB / 1.133 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002829/1.087, allocations: 186 kB / 1.133 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.4e-07/1.087, allocations: 0 / 1.133 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001173/1.088, allocations: 275.2 kB / 1.134 GB, free: 13.92 MB / 0.7448 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.002514/1.091, allocations: 1.271 MB / 1.135 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002763/1.094, allocations: 0.875 MB / 1.136 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/1.094, allocations: 4 kB / 1.136 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/1.095, allocations: 460.6 kB / 1.136 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/1.095, allocations: 87.62 kB / 1.136 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/1.097, allocations: 0.5898 MB / 1.137 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007016/1.098, allocations: 0.8479 MB / 1.138 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003017/1.098, allocations: 43.25 kB / 1.138 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/1.099, allocations: 132.6 kB / 1.138 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of SimCode: time 1.192e-06/1.099, allocations: 0 / 1.138 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04792/1.146, allocations: 12.84 MB / 1.15 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/1.147, allocations: 161.6 kB / 1.151 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.487/3.634, allocations: 3.938 kB / 1.151 GB, free: 12.76 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1)