Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.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.GasConvection,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.938/1.938, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001135/0.001135, allocations: 168.9 kB / 361.4 MB, free: 6.828 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.705/1.705, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0009343/0.0009342, allocations: 100.2 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.679e-05/2.691e-05, allocations: 4 kB / 0.8518 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7508/0.7508, allocations: 115.3 MB / 0.9645 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2278/0.9787, allocations: 145.6 MB / 1.107 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/0.9791, allocations: 92.44 kB / 1.107 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04769/1.027, allocations: 16.28 MB / 1.123 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.823e-06/1.027, allocations: 0 / 1.123 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.735e-05/1.027, allocations: 4 kB / 1.123 GB, free: 9.828 MB / 0.7292 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.001428/1.028, allocations: 0.6461 MB / 1.123 GB, free: 9.137 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.001e-05/1.028, allocations: 13.44 kB / 1.123 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09294/1.121, allocations: 11.06 MB / 1.134 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01531/1.137, allocations: 2.505 MB / 1.136 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/1.137, allocations: 11.94 kB / 1.137 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004898/1.137, allocations: 16 kB / 1.137 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001429/1.139, allocations: 0.6962 MB / 1.137 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/1.141, allocations: 0.9243 MB / 1.138 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/1.141, allocations: 4 kB / 1.138 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/1.141, allocations: 0 / 1.138 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/1.141, allocations: 4 kB / 1.138 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007115/1.148, allocations: 5.424 MB / 1.143 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/1.149, allocations: 0.6914 MB / 1.144 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008251/1.15, allocations: 0.5321 MB / 1.145 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/1.15, allocations: 31.98 kB / 1.145 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/1.15, allocations: 40 kB / 1.145 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 1.963e-06/1.15, allocations: 1.969 kB / 1.145 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22): time 0.007129/1.157, allocations: 1.84 MB / 1.146 GB, free: 252 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/1.157, allocations: 51.41 kB / 1.147 GB, free: 188 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/1.158, allocations: 245.2 kB / 1.147 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002875/1.158, allocations: 25.7 kB / 1.147 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000316/1.158, allocations: 204.5 kB / 1.147 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/1.158, allocations: 70.86 kB / 1.147 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002545/1.159, allocations: 0 / 1.147 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001908/1.159, allocations: 354.8 kB / 1.147 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001711/1.161, allocations: 1.058 MB / 1.148 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001835/1.162, allocations: 1.119 MB / 1.15 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01152/1.174, allocations: 2.393 MB / 1.152 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/1.174, allocations: 3.938 kB / 1.152 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.01522/1.189, allocations: 3.696 MB / 1.155 GB, free: 6.973 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/1.189, allocations: 98 kB / 1.156 GB, free: 6.871 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01347/1.203, allocations: 3.299 MB / 1.159 GB, free: 3.562 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/1.203, allocations: 0 / 1.159 GB, free: 3.562 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008786/1.212, allocations: 0.9442 MB / 1.16 GB, free: 2.617 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/1.212, allocations: 7.953 kB / 1.16 GB, free: 2.609 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007762/1.22, allocations: 0.788 MB / 1.16 GB, free: 1.82 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003211/1.22, allocations: 75.88 kB / 1.161 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.22, allocations: 5.406 kB / 1.161 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01398/1.234, allocations: 3.65 MB / 1.164 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01244/1.246, allocations: 3.291 MB / 1.167 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/1.246, allocations: 4 kB / 1.167 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008274/1.255, allocations: 0.9468 MB / 1.168 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/1.255, allocations: 0 / 1.168 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007575/1.262, allocations: 0.7803 MB / 1.169 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003526/1.263, allocations: 75.88 kB / 1.169 GB, free: 8.992 MB / 0.7761 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.0004536/1.263, allocations: 112.9 kB / 1.169 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006738/1.27, allocations: 1.828 MB / 1.171 GB, free: 7.043 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/1.27, allocations: 31.62 kB / 1.171 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00655/1.277, allocations: 1.766 MB / 1.173 GB, free: 5.293 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/1.277, allocations: 4 kB / 1.173 GB, free: 5.289 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/1.277, allocations: 0 / 1.173 GB, free: 5.289 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/1.277, allocations: 7.984 kB / 1.173 GB, free: 5.281 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/1.278, allocations: 1.039 MB / 1.174 GB, free: 4.121 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00381/1.282, allocations: 1.177 MB / 1.175 GB, free: 2.938 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002777/1.285, allocations: 335.6 kB / 1.175 GB, free: 2.609 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.417e-05/1.285, allocations: 0 / 1.175 GB, free: 2.609 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-05/1.285, allocations: 31.89 kB / 1.175 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/1.285, allocations: 4 kB / 1.175 GB, free: 2.574 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.285, allocations: 0 / 1.175 GB, free: 2.574 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004096/1.289, allocations: 1.307 MB / 1.177 GB, free: 1.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003847/1.289, allocations: 232.4 kB / 1.177 GB, free: 1.004 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/1.29, allocations: 0 / 1.177 GB, free: 1.004 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002532/1.292, allocations: 241.1 kB / 1.177 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.958e-05/1.292, allocations: 27.81 kB / 1.177 GB, free: 0.7422 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.993e-05/1.292, allocations: 27.97 kB / 1.177 GB, free: 0.7148 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002355/1.293, allocations: 187 kB / 1.177 GB, free: 0.5391 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.7e-07/1.293, allocations: 0 / 1.177 GB, free: 0.5391 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001683/1.294, allocations: 367.4 kB / 1.178 GB, free: 184 kB / 0.7761 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.004726/1.299, allocations: 1.936 MB / 1.179 GB, free: 14.22 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.004478/1.303, allocations: 2.392 MB / 1.182 GB, free: 11.83 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.303, allocations: 0 / 1.182 GB, free: 11.83 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0006456/1.304, allocations: 411.8 kB / 1.182 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004759/1.305, allocations: 50.97 kB / 1.182 GB, free: 11.38 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/1.307, allocations: 0.7334 MB / 1.183 GB, free: 10.61 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/1.307, allocations: 0.804 MB / 1.184 GB, free: 9.773 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.004651/1.312, allocations: 0.7198 MB / 1.184 GB, free: 9.117 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/1.313, allocations: 227.2 kB / 1.185 GB, free: 8.895 MB / 0.7917 GB Notification: Performance of SimCode: time 9.22e-07/1.313, allocations: 0 / 1.185 GB, free: 8.895 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08479/1.398, allocations: 39.23 MB / 1.223 GB, free: 1.625 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002778/1.398, allocations: 161.1 kB / 1.223 GB, free: 1.438 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.918/6.316, allocations: 1.125 kB / 1.223 GB, free: 1.438 MB / 0.823 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)