Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.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.GasConvection,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.158/2.158, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.00103/0.00103, allocations: 180.4 kB / 492.3 MB, free: 0.6445 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.589/1.589, allocations: 221.3 MB / 0.7872 GB, free: 12.93 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.001022/0.001022, allocations: 97 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.144e-05/3.147e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2694, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9345/1.204, allocations: 157.5 MB / 1.366 GB, free: 18.78 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/1.204, allocations: 92.58 kB / 1.366 GB, free: 18.78 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04381/1.248, allocations: 16.6 MB / 1.383 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.363e-06/1.248, allocations: 0 / 1.383 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.859e-05/1.248, allocations: 7.562 kB / 1.383 GB, free: 32.05 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009821/1.249, allocations: 0.6524 MB / 1.383 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/1.249, allocations: 11.56 kB / 1.383 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.621e-05/1.249, allocations: 57.08 kB / 1.383 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1049/1.354, allocations: 11.07 MB / 1.394 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01506/1.369, allocations: 2.5 MB / 1.397 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.45e-05/1.369, allocations: 23 kB / 1.397 GB, free: 25.17 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005753/1.37, allocations: 27.23 kB / 1.397 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/1.372, allocations: 0.9575 MB / 1.398 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/1.372, allocations: 0 / 1.398 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/1.372, allocations: 10.56 kB / 1.398 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/1.372, allocations: 8 kB / 1.398 GB, free: 24.44 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/1.373, allocations: 0.7094 MB / 1.398 GB, free: 24.03 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005466/1.378, allocations: 5.473 MB / 1.404 GB, free: 18.49 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009704/1.379, allocations: 0.6745 MB / 1.404 GB, free: 18.1 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008029/1.38, allocations: 0.5378 MB / 1.405 GB, free: 17.8 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.281e-05/1.38, allocations: 34.23 kB / 1.405 GB, free: 17.78 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/1.38, allocations: 34.56 kB / 1.405 GB, free: 17.74 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 3.046e-06/1.38, allocations: 4 kB / 1.405 GB, free: 17.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22): time 0.002185/1.383, allocations: 1.109 MB / 1.406 GB, free: 17.06 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/1.383, allocations: 51.41 kB / 1.406 GB, free: 17 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/1.383, allocations: 288.3 kB / 1.406 GB, free: 16.76 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002221/1.383, allocations: 32.08 kB / 1.406 GB, free: 16.73 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/1.383, allocations: 199.3 kB / 1.406 GB, free: 16.58 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/1.383, allocations: 77.34 kB / 1.407 GB, free: 16.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/1.384, allocations: 3.312 kB / 1.407 GB, free: 16.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001097/1.384, allocations: 345.1 kB / 1.407 GB, free: 16.18 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/1.385, allocations: 1.064 MB / 1.408 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/1.387, allocations: 1.132 MB / 1.409 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/1.389, allocations: 0.8991 MB / 1.41 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/1.389, allocations: 3.938 kB / 1.41 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.004295/1.393, allocations: 2.237 MB / 1.412 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001308/1.393, allocations: 181.1 kB / 1.412 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00343/1.397, allocations: 1.872 MB / 1.414 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/1.397, allocations: 0 / 1.414 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009204/1.406, allocations: 0.9507 MB / 1.415 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.471e-05/1.406, allocations: 4 kB / 1.415 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008723/1.415, allocations: 0.7984 MB / 1.416 GB, free: 9.977 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000481/1.415, allocations: 75.19 kB / 1.416 GB, free: 9.906 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/1.415, allocations: 5.406 kB / 1.416 GB, free: 9.902 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004409/1.42, allocations: 2.172 MB / 1.418 GB, free: 8.609 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003245/1.423, allocations: 1.867 MB / 1.42 GB, free: 7.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/1.423, allocations: 4 kB / 1.42 GB, free: 7.477 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008993/1.432, allocations: 0.9466 MB / 1.421 GB, free: 6.539 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/1.432, allocations: 7.953 kB / 1.421 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008425/1.441, allocations: 0.7951 MB / 1.422 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003844/1.441, allocations: 70.77 kB / 1.422 GB, free: 5.676 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.000398/1.441, allocations: 122.4 kB / 1.422 GB, free: 5.559 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/1.442, allocations: 31.72 kB / 1.422 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004023/1.446, allocations: 1.364 MB / 1.423 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/1.446, allocations: 4 kB / 1.423 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.446, allocations: 3.938 kB / 1.423 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/1.446, allocations: 7.953 kB / 1.423 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/1.447, allocations: 1.08 MB / 1.424 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001334/1.448, allocations: 0.7596 MB / 1.425 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002878/1.451, allocations: 330.8 kB / 1.425 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/1.451, allocations: 4 kB / 1.425 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.952e-05/1.451, allocations: 30.77 kB / 1.425 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/1.451, allocations: 11.95 kB / 1.425 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.451, allocations: 0 / 1.425 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/1.453, allocations: 0.8976 MB / 1.426 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003721/1.453, allocations: 237.2 kB / 1.426 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/1.453, allocations: 11.25 kB / 1.426 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002582/1.456, allocations: 239 kB / 1.427 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/1.456, allocations: 27.55 kB / 1.427 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.951e-05/1.456, allocations: 31.58 kB / 1.427 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002907/1.456, allocations: 223.1 kB / 1.427 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.456, allocations: 0 / 1.427 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001472/1.458, allocations: 370 kB / 1.427 GB, free: 0.9922 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 (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.00212/1.46, allocations: 1.543 MB / 1.429 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004246/1.464, allocations: 2.414 MB / 1.431 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/1.464, allocations: 3.812 kB / 1.431 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006911/1.465, allocations: 417.9 kB / 1.431 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005244/1.465, allocations: 76.23 kB / 1.432 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/1.467, allocations: 0.7697 MB / 1.432 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/1.468, allocations: 0.8083 MB / 1.433 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004426/1.472, allocations: 0.7269 MB / 1.434 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/1.473, allocations: 228.5 kB / 1.434 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of SimCode: time 1.092e-06/1.473, allocations: 0 / 1.434 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07444/1.548, allocations: 41.85 MB / 1.475 GB, free: 1.867 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/1.548, allocations: 172 kB / 1.475 GB, free: 1.641 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.191/6.738, allocations: 3.375 kB / 1.475 GB, free: 1.641 MB / 0.8855 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat does not exist to compare? outputFormat=mat