Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.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.Convection.Examples.Interior,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Convection_Examples_Interior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Interior,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Convection_Examples_Interior",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.19/2.19, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.0009985/0.0009985, allocations: 188.6 kB / 487.4 MB, free: 5.051 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.539/1.539, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009166/0.0009167, allocations: 105.5 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.852e-05/1.854e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2069, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7911/0.9981, allocations: 152.2 MB / 1.355 GB, free: 18.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.9984, allocations: 82.36 kB / 1.355 GB, free: 18.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.021/1.019, allocations: 8.287 MB / 1.363 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.203e-06/1.019, allocations: 0 / 1.363 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.756e-05/1.019, allocations: 7.688 kB / 1.363 GB, free: 33.4 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.0005139/1.02, allocations: 0.515 MB / 1.363 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/1.02, allocations: 7.656 kB / 1.363 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.942e-05/1.02, allocations: 33.81 kB / 1.363 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/1.02, allocations: 296 kB / 1.364 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/1.02, allocations: 7.719 kB / 1.364 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/1.02, allocations: 11.56 kB / 1.364 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001726/1.021, allocations: 95.27 kB / 1.364 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/1.021, allocations: 139.4 kB / 1.364 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/1.021, allocations: 0 / 1.364 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/1.021, allocations: 0 / 1.364 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/1.021, allocations: 7.812 kB / 1.364 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006799/1.022, allocations: 0.7764 MB / 1.365 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/1.022, allocations: 106.1 kB / 1.365 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.424e-05/1.022, allocations: 44.59 kB / 1.365 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/1.022, allocations: 7.781 kB / 1.365 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/1.022, allocations: 34.52 kB / 1.365 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/1.022, allocations: 0 / 1.365 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0002855/1.022, allocations: 130.6 kB / 1.365 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.585e-05/1.022, allocations: 55.41 kB / 1.365 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/1.022, allocations: 172.6 kB / 1.365 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/1.022, allocations: 25.7 kB / 1.365 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/1.023, allocations: 158 kB / 1.365 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/1.023, allocations: 40.3 kB / 1.365 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/1.023, allocations: 0 / 1.365 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001022/1.023, allocations: 327.5 kB / 1.366 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.693e-05/1.023, allocations: 21.53 kB / 1.366 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/1.023, allocations: 31.81 kB / 1.366 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/1.023, allocations: 33.05 kB / 1.366 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.023, allocations: 0 / 1.366 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001867/1.023, allocations: 122.4 kB / 1.366 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/1.023, allocations: 97.77 kB / 1.366 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/1.023, allocations: 112 / 1.366 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/1.023, allocations: 3.938 kB / 1.366 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/1.023, allocations: 36.53 kB / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/1.023, allocations: 0 / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/1.023, allocations: 14.77 kB / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/1.023, allocations: 3.062 kB / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.082e-06/1.023, allocations: 3.844 kB / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001507/1.024, allocations: 72.98 kB / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-06/1.024, allocations: 0 / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-06/1.024, allocations: 3 kB / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/1.024, allocations: 33.97 kB / 1.366 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-06/1.024, allocations: 0 / 1.366 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/1.024, allocations: 18.83 kB / 1.366 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/1.024, allocations: 10.84 kB / 1.366 GB, free: 31.19 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 5.922e-05/1.024, allocations: 101 kB / 1.366 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001888/1.024, allocations: 121.9 kB / 1.366 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/1.024, allocations: 19.53 kB / 1.366 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/1.024, allocations: 127.9 kB / 1.367 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/1.024, allocations: 3.812 kB / 1.367 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.024, allocations: 3.953 kB / 1.367 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.024, allocations: 2.719 kB / 1.367 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/1.025, allocations: 228.6 kB / 1.367 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.025, allocations: 0 / 1.367 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/1.025, allocations: 25.95 kB / 1.367 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/1.025, allocations: 0 / 1.367 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/1.025, allocations: 11.59 kB / 1.367 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.025, allocations: 0 / 1.367 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.025, allocations: 0 / 1.367 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/1.025, allocations: 226.5 kB / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/1.025, allocations: 100.5 kB / 1.367 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/1.025, allocations: 0 / 1.367 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/1.025, allocations: 20.75 kB / 1.367 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/1.025, allocations: 10.39 kB / 1.367 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/1.025, allocations: 0 / 1.367 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.896e-05/1.025, allocations: 142.3 kB / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.025, allocations: 0 / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003317/1.026, allocations: 102.1 kB / 1.367 GB, free: 30.46 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.0004826/1.026, allocations: 0.7714 MB / 1.368 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001659/1.026, allocations: 107.9 kB / 1.368 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.026, allocations: 0 / 1.368 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.424e-05/1.026, allocations: 37.59 kB / 1.368 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/1.027, allocations: 31.19 kB / 1.368 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004858/1.027, allocations: 283.2 kB / 1.369 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/1.027, allocations: 0.7521 MB / 1.369 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000124/1.028, allocations: 43.03 kB / 1.369 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.795e-05/1.028, allocations: 66.89 kB / 1.369 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.028, allocations: 0 / 1.369 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/1.048, allocations: 3.724 MB / 1.373 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/1.048, allocations: 144.8 kB / 1.373 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/2.786, allocations: 1.969 kB / 1.373 GB, free: 28.41 MB / 0.8386 GB (rm -f Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Convection_Examples_Interior_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Convection_Examples_Interior.fmu > Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior_res.mat does not exist to compare? outputFormat=mat