Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.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.GasConvection,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",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.498/1.498, allocations: 249.3 MB / 261.8 MB, free: 5.832 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.00171/0.00171, allocations: 192.4 kB / 321.3 MB, free: 14.64 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.879/1.879, allocations: 205.2 MB / 0.572 GB, free: 10.6 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.0008601/0.0008602, allocations: 82.56 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.312e-05/5.314e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.278, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9075/1.186, allocations: 139.9 MB / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/1.186, allocations: 94.58 kB / 1.029 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04733/1.233, allocations: 16.43 MB / 1.045 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.543e-06/1.233, allocations: 0 / 1.045 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.67e-05/1.233, allocations: 11.98 kB / 1.045 GB, free: 12.76 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001066/1.234, allocations: 0.6468 MB / 1.045 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/1.235, allocations: 12.03 kB / 1.045 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.948e-05/1.235, allocations: 62.66 kB / 1.045 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09692/1.332, allocations: 11.06 MB / 1.056 GB, free: 1.07 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01621/1.348, allocations: 2.501 MB / 1.059 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.947e-05/1.348, allocations: 21.5 kB / 1.059 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005195/1.348, allocations: 25.44 kB / 1.059 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/1.35, allocations: 0.9617 MB / 1.06 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/1.35, allocations: 0 / 1.06 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/1.35, allocations: 6.812 kB / 1.06 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/1.35, allocations: 8 kB / 1.06 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/1.352, allocations: 0.707 MB / 1.06 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006768/1.358, allocations: 5.476 MB / 1.066 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/1.359, allocations: 0.677 MB / 1.066 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008398/1.36, allocations: 0.5323 MB / 1.067 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/1.36, allocations: 30.67 kB / 1.067 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/1.36, allocations: 38.56 kB / 1.067 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 4.689e-06/1.36, allocations: 3.938 kB / 1.067 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of matching and sorting (n=22): time 0.002377/1.363, allocations: 1.121 MB / 1.068 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/1.363, allocations: 51.41 kB / 1.068 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/1.363, allocations: 287.4 kB / 1.068 GB, free: 6.395 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002176/1.364, allocations: 33.14 kB / 1.068 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/1.364, allocations: 197.6 kB / 1.069 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/1.364, allocations: 72.88 kB / 1.069 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/1.364, allocations: 3.562 kB / 1.069 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.364, allocations: 344.5 kB / 1.069 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/1.366, allocations: 1.062 MB / 1.07 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/1.368, allocations: 1.124 MB / 1.071 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/1.369, allocations: 0.9097 MB / 1.072 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.369, allocations: 0 / 1.072 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.004255/1.373, allocations: 2.236 MB / 1.074 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001595/1.374, allocations: 185.4 kB / 1.074 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003343/1.377, allocations: 1.862 MB / 1.076 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/1.377, allocations: 4 kB / 1.076 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00865/1.386, allocations: 0.9509 MB / 1.077 GB, free: 416 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.329e-05/1.386, allocations: 4 kB / 1.077 GB, free: 412 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008177/1.394, allocations: 0.7997 MB / 1.078 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003958/1.394, allocations: 77.88 kB / 1.078 GB, free: 15.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/1.394, allocations: 7.938 kB / 1.078 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004398/1.399, allocations: 2.171 MB / 1.08 GB, free: 13.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003629/1.403, allocations: 1.871 MB / 1.082 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/1.403, allocations: 8 kB / 1.082 GB, free: 11.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008638/1.411, allocations: 0.9481 MB / 1.083 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/1.411, allocations: 0 / 1.083 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008011/1.419, allocations: 0.7958 MB / 1.084 GB, free: 9.883 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000449/1.42, allocations: 75.88 kB / 1.084 GB, free: 9.809 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005659/1.42, allocations: 112.9 kB / 1.084 GB, free: 9.691 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/1.421, allocations: 31.62 kB / 1.084 GB, free: 9.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004328/1.425, allocations: 1.37 MB / 1.085 GB, free: 8.285 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/1.425, allocations: 4 kB / 1.085 GB, free: 8.281 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/1.425, allocations: 0 / 1.085 GB, free: 8.281 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/1.425, allocations: 7.938 kB / 1.085 GB, free: 8.273 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/1.427, allocations: 1.086 MB / 1.086 GB, free: 7.055 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001405/1.428, allocations: 0.7557 MB / 1.087 GB, free: 6.289 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002893/1.431, allocations: 335.6 kB / 1.087 GB, free: 5.961 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/1.431, allocations: 8 kB / 1.087 GB, free: 5.953 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.301e-05/1.431, allocations: 23.97 kB / 1.087 GB, free: 5.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/1.431, allocations: 0 / 1.087 GB, free: 5.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.431, allocations: 7.938 kB / 1.087 GB, free: 5.922 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/1.433, allocations: 0.8972 MB / 1.088 GB, free: 5.008 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004355/1.433, allocations: 244.2 kB / 1.088 GB, free: 4.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/1.433, allocations: 4 kB / 1.088 GB, free: 4.746 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002622/1.436, allocations: 251.7 kB / 1.089 GB, free: 4.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/1.436, allocations: 27.78 kB / 1.089 GB, free: 4.473 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/1.436, allocations: 35.95 kB / 1.089 GB, free: 4.438 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003837/1.437, allocations: 218.2 kB / 1.089 GB, free: 4.223 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.996e-06/1.437, allocations: 4 kB / 1.089 GB, free: 4.219 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002201/1.439, allocations: 375.5 kB / 1.089 GB, free: 3.852 MB / 0.698 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 (36): * Single equations (assignments): 36 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002674/1.442, allocations: 1.533 MB / 1.091 GB, free: 2.293 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00512/1.447, allocations: 2.412 MB / 1.093 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.447, allocations: 0 / 1.093 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007246/1.448, allocations: 419.8 kB / 1.094 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005992/1.448, allocations: 73.23 kB / 1.094 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/1.45, allocations: 0.7664 MB / 1.094 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/1.451, allocations: 0.8044 MB / 1.095 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004889/1.456, allocations: 0.7269 MB / 1.096 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/1.457, allocations: 223.2 kB / 1.096 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of SimCode: time 2.715e-06/1.457, allocations: 0 / 1.096 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0791/1.536, allocations: 41.86 MB / 1.137 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000282/1.536, allocations: 191.6 kB / 1.137 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.253/6.789, allocations: 0 / 1.137 GB, free: 2.711 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)