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.389/1.389, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001403/0.001403, allocations: 178.5 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.903/1.903, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009502/0.0009501, allocations: 95.66 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.0003871, allocations: 10.84 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2102/0.5103, allocations: 140 MB / 1.037 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003606/0.5107, allocations: 103.9 kB / 1.037 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0493/0.5601, allocations: 16.46 MB / 1.053 GB, free: 3.012 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.176e-06/0.5601, allocations: 0 / 1.053 GB, free: 3.012 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.489e-05/0.5602, allocations: 8 kB / 1.053 GB, free: 3.004 MB / 0.698 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.001812/0.562, allocations: 0.7149 MB / 1.054 GB, free: 2.238 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.356e-05/0.5621, allocations: 12.02 kB / 1.054 GB, free: 2.227 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001371/0.5622, allocations: 58.55 kB / 1.054 GB, free: 2.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7054/1.268, allocations: 11.08 MB / 1.065 GB, free: 144.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01861/1.286, allocations: 2.502 MB / 1.067 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.262e-05/1.286, allocations: 18.78 kB / 1.067 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006877/1.287, allocations: 28.06 kB / 1.067 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006613/1.294, allocations: 1.516 MB / 1.069 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/1.294, allocations: 0 / 1.069 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/1.294, allocations: 9.875 kB / 1.069 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/1.294, allocations: 5.531 kB / 1.069 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006486/1.301, allocations: 1.284 MB / 1.07 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006074/1.307, allocations: 5.479 MB / 1.075 GB, free: 140.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005402/1.312, allocations: 1.226 MB / 1.076 GB, free: 140.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/1.312, allocations: 31.45 kB / 1.076 GB, free: 140.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/1.312, allocations: 38.36 kB / 1.076 GB, free: 140.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 2.625e-06/1.312, allocations: 1.422 kB / 1.076 GB, free: 140.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=22): time 0.01651/1.329, allocations: 3.516 MB / 1.08 GB, free: 139.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/1.329, allocations: 51.41 kB / 1.08 GB, free: 139.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/1.329, allocations: 292 kB / 1.08 GB, free: 139.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003687/1.33, allocations: 33.2 kB / 1.08 GB, free: 139.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/1.33, allocations: 201 kB / 1.08 GB, free: 139.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/1.33, allocations: 82.08 kB / 1.081 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/1.33, allocations: 3.188 kB / 1.081 GB, free: 139.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.859e-05/1.33, allocations: 345.9 kB / 1.081 GB, free: 139.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01064/1.341, allocations: 2.108 MB / 1.083 GB, free: 139 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01066/1.352, allocations: 2.174 MB / 1.085 GB, free: 138.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009963/1.362, allocations: 1.955 MB / 1.087 GB, free: 138.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.138e-06/1.362, allocations: 0 / 1.087 GB, free: 138.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.02132/1.383, allocations: 4.327 MB / 1.091 GB, free: 137 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.547e-05/1.383, allocations: 191.8 kB / 1.091 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01681/1.4, allocations: 3.639 MB / 1.095 GB, free: 133.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.2e-05/1.4, allocations: 0 / 1.095 GB, free: 133.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01233/1.412, allocations: 0.9442 MB / 1.096 GB, free: 132.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.457e-05/1.412, allocations: 5.969 kB / 1.096 GB, free: 132.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01165/1.424, allocations: 0.802 MB / 1.097 GB, free: 131.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006509/1.425, allocations: 75.88 kB / 1.097 GB, free: 131.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/1.425, allocations: 0 / 1.097 GB, free: 131.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02332/1.448, allocations: 4.27 MB / 1.101 GB, free: 127.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01618/1.464, allocations: 3.646 MB / 1.104 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/1.464, allocations: 4 kB / 1.104 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007843/1.472, allocations: 0.9495 MB / 1.105 GB, free: 122.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/1.472, allocations: 4 kB / 1.105 GB, free: 122.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007383/1.48, allocations: 0.8019 MB / 1.106 GB, free: 122.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003416/1.48, allocations: 67.89 kB / 1.106 GB, free: 122.1 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 () * Number of clocked 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.0005964/1.481, allocations: 224.2 kB / 1.106 GB, free: 121.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/1.481, allocations: 32.33 kB / 1.106 GB, free: 121.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00815/1.489, allocations: 1.974 MB / 1.108 GB, free: 119.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/1.489, allocations: 4 kB / 1.108 GB, free: 119.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.489, allocations: 0 / 1.108 GB, free: 119.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/1.489, allocations: 3.953 kB / 1.108 GB, free: 119.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/1.49, allocations: 1.087 MB / 1.109 GB, free: 118.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005648/1.496, allocations: 1.38 MB / 1.111 GB, free: 117.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002609/1.498, allocations: 330.5 kB / 1.111 GB, free: 117 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/1.498, allocations: 2.531 kB / 1.111 GB, free: 117 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.941e-05/1.498, allocations: 23.97 kB / 1.111 GB, free: 116.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/1.498, allocations: 4 kB / 1.111 GB, free: 116.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.498, allocations: 7.953 kB / 1.111 GB, free: 116.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005769/1.504, allocations: 1.51 MB / 1.113 GB, free: 115.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003801/1.505, allocations: 240.5 kB / 1.113 GB, free: 115.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/1.505, allocations: 4 kB / 1.113 GB, free: 115.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002376/1.507, allocations: 243.8 kB / 1.113 GB, free: 114.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/1.507, allocations: 30.78 kB / 1.113 GB, free: 114.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.392e-05/1.507, allocations: 31.95 kB / 1.113 GB, free: 114.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002313/1.508, allocations: 234.9 kB / 1.113 GB, free: 114.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.508, allocations: 0 / 1.113 GB, free: 114.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00167/1.509, allocations: 370.5 kB / 1.114 GB, free: 114.3 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 () * Number of clocked 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.006622/1.516, allocations: 2.141 MB / 1.116 GB, free: 112.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02008/1.536, allocations: 4.481 MB / 1.12 GB, free: 107.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/1.536, allocations: 0 / 1.12 GB, free: 107.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002859/1.539, allocations: 0.7128 MB / 1.121 GB, free: 107 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/1.54, allocations: 77.36 kB / 1.121 GB, free: 106.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004477/1.544, allocations: 1.805 MB / 1.123 GB, free: 105.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/1.544, allocations: 0.8042 MB / 1.124 GB, free: 104.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004497/1.549, allocations: 0.703 MB / 1.124 GB, free: 103.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/1.55, allocations: 231.2 kB / 1.124 GB, free: 103.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.223e-06/1.55, allocations: 3.828 kB / 1.124 GB, free: 103.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05895/1.609, allocations: 41.16 MB / 1.165 GB, free: 62.27 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001421/1.609, allocations: 211.9 kB / 1.165 GB, free: 62.03 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.954/6.563, allocations: 4 kB / 1.165 GB, free: 62.03 MB / 0.698 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)