Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Interior,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Interior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Interior,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Interior",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.123/2.123, allocations: 390.5 MB / 398 MB, free: 10.89 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.0009279/0.0009278, allocations: 180.8 kB / 491.2 MB, free: 1.535 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.336/1.336, allocations: 221.5 MB / 0.7868 GB, free: 13.22 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.0009084/0.0009084, allocations: 99.81 kB / 0.9269 GB, free: 13.72 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.718e-05/1.74e-05, allocations: 7.984 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2488, allocations: 143 MB / 1.212 GB, free: 39.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8309/1.08, allocations: 153 MB / 1.362 GB, free: 17.75 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/1.08, allocations: 83.31 kB / 1.362 GB, free: 17.75 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02247/1.103, allocations: 8.287 MB / 1.37 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.412e-06/1.103, allocations: 3.938 kB / 1.37 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.847e-05/1.103, allocations: 11.45 kB / 1.37 GB, free: 32.92 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007845/1.103, allocations: 0.5007 MB / 1.37 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/1.104, allocations: 11.53 kB / 1.37 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/1.104, allocations: 30.88 kB / 1.371 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004863/1.104, allocations: 300.1 kB / 1.371 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/1.104, allocations: 3.812 kB / 1.371 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/1.104, allocations: 11.72 kB / 1.371 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002579/1.104, allocations: 101.5 kB / 1.371 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/1.105, allocations: 130.6 kB / 1.371 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/1.105, allocations: 0 / 1.371 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/1.105, allocations: 0 / 1.371 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/1.105, allocations: 7.656 kB / 1.371 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000952/1.106, allocations: 0.7706 MB / 1.372 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/1.106, allocations: 108 kB / 1.372 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.256e-05/1.106, allocations: 48.39 kB / 1.372 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/1.106, allocations: 4 kB / 1.372 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/1.106, allocations: 34.47 kB / 1.372 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/1.106, allocations: 3.938 kB / 1.372 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0003269/1.106, allocations: 125.4 kB / 1.372 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/1.106, allocations: 55.25 kB / 1.372 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/1.107, allocations: 173.3 kB / 1.372 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/1.107, allocations: 25.7 kB / 1.372 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.562e-05/1.107, allocations: 151.8 kB / 1.372 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/1.107, allocations: 52.58 kB / 1.373 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/1.107, allocations: 4.688 kB / 1.373 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.022e-05/1.107, allocations: 326.8 kB / 1.373 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.66e-05/1.107, allocations: 18.31 kB / 1.373 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.376e-05/1.107, allocations: 26.55 kB / 1.373 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/1.107, allocations: 36.28 kB / 1.373 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.107, allocations: 0 / 1.373 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000205/1.107, allocations: 122 kB / 1.373 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.494e-05/1.107, allocations: 105.2 kB / 1.373 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.107, allocations: 7.078 kB / 1.373 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/1.107, allocations: 0 / 1.373 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/1.108, allocations: 25.94 kB / 1.373 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/1.108, allocations: 2.859 kB / 1.373 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/1.108, allocations: 10.84 kB / 1.373 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/1.108, allocations: 7.812 kB / 1.373 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/1.108, allocations: 3.875 kB / 1.373 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001655/1.108, allocations: 68.19 kB / 1.373 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/1.108, allocations: 6.812 kB / 1.373 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.047e-06/1.108, allocations: 0 / 1.373 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/1.108, allocations: 30.27 kB / 1.373 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-06/1.108, allocations: 3.875 kB / 1.373 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/1.108, allocations: 28.84 kB / 1.373 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/1.108, allocations: 3.875 kB / 1.373 GB, free: 30.71 MB / 0.8386 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 (13): * Single equations (assignments): 13 * 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.039e-05/1.108, allocations: 104.2 kB / 1.373 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002107/1.108, allocations: 119 kB / 1.374 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/1.109, allocations: 23.41 kB / 1.374 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/1.109, allocations: 125.7 kB / 1.374 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/1.109, allocations: 3.953 kB / 1.374 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.109, allocations: 3.875 kB / 1.374 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/1.109, allocations: 0 / 1.374 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/1.109, allocations: 231.8 kB / 1.374 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.109, allocations: 0 / 1.374 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/1.109, allocations: 33.34 kB / 1.374 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/1.109, allocations: 0 / 1.374 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/1.109, allocations: 0 / 1.374 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/1.109, allocations: 0 / 1.374 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.109, allocations: 6.625 kB / 1.374 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/1.109, allocations: 222.5 kB / 1.374 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.198e-05/1.109, allocations: 105.2 kB / 1.374 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/1.11, allocations: 3.844 kB / 1.374 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/1.11, allocations: 10.83 kB / 1.374 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/1.11, allocations: 6.844 kB / 1.374 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/1.11, allocations: 0 / 1.374 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.381e-05/1.11, allocations: 148.4 kB / 1.374 GB, free: 30 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.11, allocations: 0 / 1.374 GB, free: 30 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003737/1.11, allocations: 111.5 kB / 1.375 GB, free: 29.96 MB / 0.8386 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 (13): * Single equations (assignments): 13 * 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.0005058/1.111, allocations: 0.7552 MB / 1.375 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001782/1.111, allocations: 104 kB / 1.375 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.111, allocations: 0 / 1.375 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.966e-05/1.111, allocations: 42.77 kB / 1.375 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/1.111, allocations: 37.19 kB / 1.375 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005758/1.112, allocations: 285.6 kB / 1.376 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/1.112, allocations: 0.7546 MB / 1.376 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001735/1.112, allocations: 30.69 kB / 1.377 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.852e-05/1.112, allocations: 68.36 kB / 1.377 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/1.112, allocations: 0 / 1.377 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/1.133, allocations: 3.725 MB / 1.38 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/1.134, allocations: 147.9 kB / 1.38 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/2.766, allocations: 4 kB / 1.38 GB, free: 27.93 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Interior_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Interior.fmu > Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior_res.mat does not exist to compare? outputFormat=mat