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.449/1.449, allocations: 249.5 MB / 257 MB, free: 6.887 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.001014/0.001014, allocations: 180.9 kB / 316.3 MB, free: 3.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.808/1.808, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.001032/0.001032, allocations: 84.25 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.956e-05/1.958e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2582, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8101/1.068, allocations: 140.2 MB / 1.022 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/1.069, allocations: 96.2 kB / 1.022 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04615/1.115, allocations: 16.27 MB / 1.038 GB, free: 80 kB / 0.6511 GB Notification: Performance of FrontEnd: time 1.713e-06/1.115, allocations: 0 / 1.038 GB, free: 80 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.607e-05/1.115, allocations: 15.94 kB / 1.038 GB, free: 64 kB / 0.6511 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.001214/1.116, allocations: 0.6457 MB / 1.039 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/1.116, allocations: 11.97 kB / 1.039 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09435/1.211, allocations: 11.06 MB / 1.05 GB, free: 4.43 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01528/1.226, allocations: 2.499 MB / 1.052 GB, free: 2.191 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/1.226, allocations: 8 kB / 1.052 GB, free: 2.184 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005102/1.227, allocations: 20 kB / 1.052 GB, free: 2.164 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001288/1.228, allocations: 0.6948 MB / 1.053 GB, free: 1.77 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/1.23, allocations: 0.9238 MB / 1.054 GB, free: 1.086 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/1.23, allocations: 0 / 1.054 GB, free: 1.086 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/1.23, allocations: 0 / 1.054 GB, free: 1.086 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/1.23, allocations: 8 kB / 1.054 GB, free: 1.078 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006592/1.236, allocations: 5.431 MB / 1.059 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/1.237, allocations: 0.6868 MB / 1.06 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008153/1.238, allocations: 0.5364 MB / 1.06 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/1.238, allocations: 35.08 kB / 1.06 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/1.239, allocations: 34.56 kB / 1.06 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 3.747e-06/1.239, allocations: 3.938 kB / 1.06 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=22): time 0.00753/1.246, allocations: 1.828 MB / 1.062 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/1.246, allocations: 59.36 kB / 1.062 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003975/1.247, allocations: 237.5 kB / 1.062 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003492/1.247, allocations: 29.7 kB / 1.062 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/1.247, allocations: 208.3 kB / 1.063 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/1.247, allocations: 73.94 kB / 1.063 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002249/1.248, allocations: 0 / 1.063 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001615/1.248, allocations: 337.8 kB / 1.063 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/1.249, allocations: 1.061 MB / 1.064 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/1.251, allocations: 1.125 MB / 1.065 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/1.262, allocations: 2.386 MB / 1.067 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/1.262, allocations: 3.984 kB / 1.067 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.01386/1.276, allocations: 3.702 MB / 1.071 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.489e-05/1.276, allocations: 93.06 kB / 1.071 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01245/1.289, allocations: 3.294 MB / 1.074 GB, free: 68 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.282e-05/1.289, allocations: 7.953 kB / 1.074 GB, free: 60 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008601/1.297, allocations: 0.9441 MB / 1.075 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/1.298, allocations: 0 / 1.075 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00781/1.305, allocations: 0.7979 MB / 1.076 GB, free: 14.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003765/1.306, allocations: 67.33 kB / 1.076 GB, free: 14.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.306, allocations: 4 kB / 1.076 GB, free: 14.26 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01396/1.32, allocations: 3.657 MB / 1.08 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01263/1.332, allocations: 3.286 MB / 1.083 GB, free: 9.062 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/1.332, allocations: 0 / 1.083 GB, free: 9.062 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008447/1.341, allocations: 0.9508 MB / 1.084 GB, free: 8.121 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/1.341, allocations: 8 kB / 1.084 GB, free: 8.113 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0076/1.349, allocations: 0.7798 MB / 1.085 GB, free: 7.336 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003567/1.349, allocations: 71.44 kB / 1.085 GB, free: 7.27 MB / 0.698 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 (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.0004852/1.349, allocations: 114.5 kB / 1.085 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006666/1.356, allocations: 1.827 MB / 1.087 GB, free: 5.801 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/1.356, allocations: 27.62 kB / 1.087 GB, free: 5.773 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006386/1.363, allocations: 1.769 MB / 1.088 GB, free: 4.344 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/1.363, allocations: 7.984 kB / 1.088 GB, free: 4.336 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.363, allocations: 0 / 1.088 GB, free: 4.336 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/1.363, allocations: 0 / 1.088 GB, free: 4.336 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/1.364, allocations: 1.054 MB / 1.089 GB, free: 3.355 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003673/1.368, allocations: 1.169 MB / 1.091 GB, free: 2.473 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002716/1.371, allocations: 335.3 kB / 1.091 GB, free: 2.148 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/1.371, allocations: 0 / 1.091 GB, free: 2.148 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.667e-05/1.371, allocations: 19.97 kB / 1.091 GB, free: 2.129 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/1.371, allocations: 0 / 1.091 GB, free: 2.129 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.371, allocations: 7.984 kB / 1.091 GB, free: 2.121 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00384/1.374, allocations: 1.319 MB / 1.092 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003284/1.375, allocations: 233.3 kB / 1.092 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/1.375, allocations: 3.984 kB / 1.092 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002501/1.377, allocations: 231.8 kB / 1.093 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/1.378, allocations: 23.97 kB / 1.093 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.152e-05/1.378, allocations: 35.95 kB / 1.093 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001923/1.378, allocations: 188.6 kB / 1.093 GB, free: 432 kB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.378, allocations: 3.938 kB / 1.093 GB, free: 428 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.00153/1.379, allocations: 359.4 kB / 1.093 GB, free: 68 kB / 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.004633/1.384, allocations: 1.934 MB / 1.095 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004415/1.388, allocations: 2.388 MB / 1.097 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.389, allocations: 7.938 kB / 1.097 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006447/1.389, allocations: 403.8 kB / 1.098 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/1.39, allocations: 57.12 kB / 1.098 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/1.391, allocations: 0.7268 MB / 1.099 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/1.392, allocations: 0.8079 MB / 1.099 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00437/1.396, allocations: 0.7146 MB / 1.1 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000978/1.397, allocations: 231.2 kB / 1.1 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of SimCode: time 7.12e-07/1.397, allocations: 0 / 1.1 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07642/1.473, allocations: 39.22 MB / 1.139 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/1.474, allocations: 175.4 kB / 1.139 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.707/6.18, allocations: 0 / 1.139 GB, free: 1.164 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)