Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 289.9 MB / 297.4 MB, free: 6.34 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.001318/0.001318, allocations: 180.8 kB / 366.7 MB, free: 1.629 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.621/2.621, allocations: 205.2 MB / 0.626 GB, free: 7.133 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.001474/0.001474, allocations: 87.33 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.989e-05/4.016e-05, allocations: 4 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7664/0.7664, allocations: 116.3 MB / 0.9734 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2177/0.9842, allocations: 142.1 MB / 1.112 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.9845, allocations: 84.53 kB / 1.112 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.009593/0.9941, allocations: 3.24 MB / 1.115 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9942, allocations: 0 / 1.115 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.9942, allocations: 4.625 kB / 1.115 GB, free: 4.719 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005057/0.9947, allocations: 392.8 kB / 1.116 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.9948, allocations: 12.03 kB / 1.116 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.689e-05/0.9949, allocations: 15.8 kB / 1.116 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.9952, allocations: 211.9 kB / 1.116 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.9952, allocations: 3.938 kB / 1.116 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.9952, allocations: 6.312 kB / 1.116 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001249/0.9953, allocations: 39.98 kB / 1.116 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.9955, allocations: 66.92 kB / 1.116 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.9955, allocations: 0 / 1.116 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.9955, allocations: 4 kB / 1.116 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.9955, allocations: 0 / 1.116 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006013/0.9962, allocations: 357.3 kB / 1.116 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.9963, allocations: 42.56 kB / 1.116 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.167e-05/0.9964, allocations: 16.86 kB / 1.116 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.9964, allocations: 0 / 1.116 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.9964, allocations: 34.52 kB / 1.116 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.9964, allocations: 1.781 kB / 1.116 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002106/0.9967, allocations: 53.84 kB / 1.117 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.9967, allocations: 51.41 kB / 1.117 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.9968, allocations: 121.8 kB / 1.117 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.9968, allocations: 29.7 kB / 1.117 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.9969, allocations: 107.9 kB / 1.117 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.124e-05/0.9969, allocations: 11.8 kB / 1.117 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.9969, allocations: 0 / 1.117 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.997, allocations: 318.8 kB / 1.117 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.483e-05/0.9971, allocations: 11.94 kB / 1.117 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.671e-05/0.9971, allocations: 4 kB / 1.117 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.891e-05/0.9972, allocations: 19.92 kB / 1.117 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9972, allocations: 0 / 1.117 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001221/0.9973, allocations: 64.69 kB / 1.117 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.869e-05/0.9974, allocations: 99.44 kB / 1.117 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.9974, allocations: 0 / 1.117 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.9974, allocations: 0 / 1.117 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.974e-05/0.9975, allocations: 15.98 kB / 1.117 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.9975, allocations: 0 / 1.117 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.448e-05/0.9976, allocations: 23.47 kB / 1.117 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.9976, allocations: 192 / 1.117 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.9976, allocations: 4 kB / 1.117 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 9.073e-05/0.9977, allocations: 27.97 kB / 1.117 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.9977, allocations: 6.438 kB / 1.117 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.988e-06/0.9977, allocations: 3.984 kB / 1.117 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.68e-05/0.9978, allocations: 12 kB / 1.117 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-06/0.9978, allocations: 0 / 1.117 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.284e-05/0.9979, allocations: 11.98 kB / 1.117 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.9979, allocations: 7.953 kB / 1.117 GB, free: 2.367 MB / 0.7136 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 (4): * Single equations (assignments): 4 * 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 7.054e-05/0.998, allocations: 101 kB / 1.118 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001237/0.9981, allocations: 53.69 kB / 1.118 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.9982, allocations: 7.906 kB / 1.118 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.9983, allocations: 61.89 kB / 1.118 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.9983, allocations: 0 / 1.118 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.9983, allocations: 3.953 kB / 1.118 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.9983, allocations: 0 / 1.118 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.9985, allocations: 166.1 kB / 1.118 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.9985, allocations: 4 kB / 1.118 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.996e-05/0.9986, allocations: 11.98 kB / 1.118 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.9986, allocations: 0 / 1.118 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.9986, allocations: 1.125 kB / 1.118 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.9986, allocations: 0 / 1.118 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.9986, allocations: 0 / 1.118 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.9988, allocations: 151.5 kB / 1.118 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/0.9988, allocations: 89 kB / 1.118 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.9989, allocations: 3.938 kB / 1.118 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.52e-05/0.9989, allocations: 7.938 kB / 1.118 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.999, allocations: 7.984 kB / 1.118 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.999, allocations: 3.188 kB / 1.118 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.03e-05/0.9991, allocations: 95.28 kB / 1.118 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9991, allocations: 0 / 1.118 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000325/0.9994, allocations: 47.75 kB / 1.118 GB, free: 1.477 MB / 0.7136 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 (3): * Single equations (assignments): 3 * 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.0004407/0.9999, allocations: 0.682 MB / 1.119 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001278/1, allocations: 35.94 kB / 1.119 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1, allocations: 4 kB / 1.119 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.385e-05/1, allocations: 11.98 kB / 1.119 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/1, allocations: 13.22 kB / 1.119 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004406/1.001, allocations: 149.8 kB / 1.119 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/1.001, allocations: 0.6963 MB / 1.12 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.669e-05/1.001, allocations: 19.41 kB / 1.12 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/1.001, allocations: 27.42 kB / 1.12 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of SimCode: time 4.2e-07/1.001, allocations: 0 / 1.12 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/1.024, allocations: 1.639 MB / 1.121 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/1.025, allocations: 166.5 kB / 1.122 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.722, allocations: 0 / 1.122 GB, free: 13.99 MB / 0.7292 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1)