Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 390.3 MB / 405.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 183.9 kB / 498.1 MB, free: 5.734 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 223.2 MB / 0.7948 GB, free: 17.96 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009613/0.0009614, allocations: 103.9 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003706, allocations: 13.56 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2828, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1778/0.4606, allocations: 153 MB / 1.372 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.4609, allocations: 95.94 kB / 1.372 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009344/0.4702, allocations: 3.279 MB / 1.376 GB, free: 5.605 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4703, allocations: 0 / 1.376 GB, free: 5.605 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.4703, allocations: 4 kB / 1.376 GB, free: 5.602 MB / 0.8698 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.0006336/0.4709, allocations: 422.8 kB / 1.376 GB, free: 5.141 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.471, allocations: 8.031 kB / 1.376 GB, free: 5.133 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.701e-05/0.4711, allocations: 42.55 kB / 1.376 GB, free: 5.082 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.4711, allocations: 7.906 kB / 1.376 GB, free: 5.074 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.4714, allocations: 206.8 kB / 1.376 GB, free: 4.832 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.4714, allocations: 8 kB / 1.376 GB, free: 4.824 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.4714, allocations: 8 kB / 1.376 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.4717, allocations: 98.33 kB / 1.376 GB, free: 4.715 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4717, allocations: 0 / 1.376 GB, free: 4.715 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.4717, allocations: 8 kB / 1.376 GB, free: 4.707 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.4717, allocations: 0 / 1.376 GB, free: 4.707 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002201/0.4719, allocations: 79.88 kB / 1.376 GB, free: 4.629 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006196/0.4726, allocations: 396.4 kB / 1.377 GB, free: 4.191 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.4728, allocations: 58.64 kB / 1.377 GB, free: 4.125 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.4728, allocations: 3.984 kB / 1.377 GB, free: 4.121 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.4729, allocations: 34.56 kB / 1.377 GB, free: 4.078 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.492e-06/0.4729, allocations: 0 / 1.377 GB, free: 4.078 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0003792/0.4733, allocations: 113.7 kB / 1.377 GB, free: 3.961 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.4733, allocations: 59.41 kB / 1.377 GB, free: 3.891 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.4734, allocations: 132.3 kB / 1.377 GB, free: 3.754 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.4735, allocations: 25.7 kB / 1.377 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/0.4735, allocations: 115.9 kB / 1.377 GB, free: 3.605 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.477e-06/0.4735, allocations: 3.906 kB / 1.377 GB, free: 3.602 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/0.4736, allocations: 0 / 1.377 GB, free: 3.602 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.4737, allocations: 322.8 kB / 1.378 GB, free: 3.277 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-05/0.4738, allocations: 27.98 kB / 1.378 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.081e-05/0.4739, allocations: 31.91 kB / 1.378 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.139e-05/0.474, allocations: 23.98 kB / 1.378 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.474, allocations: 0 / 1.378 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002217/0.4742, allocations: 101.5 kB / 1.378 GB, free: 3.09 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.446e-05/0.4743, allocations: 90.09 kB / 1.378 GB, free: 2.996 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4743, allocations: 3.984 kB / 1.378 GB, free: 2.992 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.4743, allocations: 8 kB / 1.378 GB, free: 2.984 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.065e-05/0.4744, allocations: 12 kB / 1.378 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.4744, allocations: 7.922 kB / 1.378 GB, free: 2.965 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.841e-05/0.4745, allocations: 19.84 kB / 1.378 GB, free: 2.945 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.4745, allocations: 4 kB / 1.378 GB, free: 2.941 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/0.4745, allocations: 0 / 1.378 GB, free: 2.941 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001941/0.4747, allocations: 63.89 kB / 1.378 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-06/0.4747, allocations: 0 / 1.378 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-06/0.4747, allocations: 7.953 kB / 1.378 GB, free: 2.871 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.223e-05/0.4748, allocations: 11.98 kB / 1.378 GB, free: 2.859 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-06/0.4748, allocations: 0 / 1.378 GB, free: 2.859 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.825e-05/0.4749, allocations: 11.98 kB / 1.378 GB, free: 2.848 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.4749, allocations: 7.984 kB / 1.378 GB, free: 2.84 MB / 0.8698 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 () * Number of clocked 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 0.0001166/0.475, allocations: 189.1 kB / 1.378 GB, free: 2.645 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.4751, allocations: 11.91 kB / 1.378 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.4753, allocations: 97.84 kB / 1.378 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.4754, allocations: 4 kB / 1.378 GB, free: 2.523 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.4754, allocations: 0 / 1.378 GB, free: 2.523 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.4754, allocations: 3.938 kB / 1.378 GB, free: 2.52 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.4756, allocations: 185.6 kB / 1.379 GB, free: 2.289 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4756, allocations: 0 / 1.379 GB, free: 2.289 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.883e-05/0.4757, allocations: 11.98 kB / 1.379 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.4757, allocations: 432 / 1.379 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.4757, allocations: 4 kB / 1.379 GB, free: 2.273 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.4757, allocations: 3.953 kB / 1.379 GB, free: 2.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4757, allocations: 4 kB / 1.379 GB, free: 2.266 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.476, allocations: 183.4 kB / 1.379 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.476, allocations: 92.91 kB / 1.379 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.4761, allocations: 4 kB / 1.379 GB, free: 1.957 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.212e-05/0.4762, allocations: 8 kB / 1.379 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.4762, allocations: 11.88 kB / 1.379 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.4762, allocations: 4 kB / 1.379 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.374e-05/0.4763, allocations: 115.2 kB / 1.379 GB, free: 1.82 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.623e-06/0.4763, allocations: 0 / 1.379 GB, free: 1.82 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003001/0.4766, allocations: 39.88 kB / 1.379 GB, free: 1.781 MB / 0.8698 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 (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.0005925/0.4772, allocations: 0.7278 MB / 1.38 GB, free: 1.023 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003085/0.4775, allocations: 87.88 kB / 1.38 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4775, allocations: 0 / 1.38 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.918e-05/0.4776, allocations: 31.98 kB / 1.38 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.4779, allocations: 27.88 kB / 1.38 GB, free: 0.8789 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.4791, allocations: 0.6742 MB / 1.381 GB, free: 156 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.4794, allocations: 0.7004 MB / 1.381 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.261e-05/0.4795, allocations: 12.42 kB / 1.381 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.36e-05/0.4795, allocations: 23.44 kB / 1.381 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of SimCode: time 3.416e-06/0.4795, allocations: 112 / 1.381 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01413/0.4937, allocations: 2.333 MB / 1.384 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/0.4939, allocations: 202.6 kB / 1.384 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/2.092, allocations: 0 / 1.384 GB, free: 13.01 MB / 0.8855 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat does not exist to compare? outputFormat=mat