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.193/2.193, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001108/0.001108, allocations: 175.4 kB / 498.1 MB, free: 5.746 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.561/1.561, allocations: 223.2 MB / 0.7948 GB, free: 17.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.0009798/0.0009798, allocations: 100.3 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003928, allocations: 9.344 kB / 1.084 GB, free: 221.7 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3228, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.194/0.5169, allocations: 157.5 MB / 1.377 GB, free: 4.379 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.5172, allocations: 95.94 kB / 1.377 GB, free: 4.285 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04672/0.5639, allocations: 16.63 MB / 1.393 GB, free: 3.57 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.025e-06/0.564, allocations: 0 / 1.393 GB, free: 3.57 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.304e-05/0.5641, allocations: 8 kB / 1.393 GB, free: 3.562 MB / 0.8855 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.001828/0.5659, allocations: 0.7168 MB / 1.394 GB, free: 2.793 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.451e-05/0.566, allocations: 8.031 kB / 1.394 GB, free: 2.785 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.5661, allocations: 62.53 kB / 1.394 GB, free: 2.715 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09878/0.6649, allocations: 11.09 MB / 1.405 GB, free: 7.617 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01572/0.6807, allocations: 2.492 MB / 1.407 GB, free: 5.082 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.459e-05/0.6808, allocations: 20.56 kB / 1.407 GB, free: 5.062 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005086/0.6813, allocations: 28 kB / 1.407 GB, free: 5.035 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006156/0.6875, allocations: 1.511 MB / 1.409 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.6876, allocations: 3.938 kB / 1.409 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/0.6877, allocations: 8 kB / 1.409 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.6877, allocations: 11.95 kB / 1.409 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005438/0.6932, allocations: 1.275 MB / 1.41 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007587/0.7008, allocations: 5.476 MB / 1.415 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005257/0.7061, allocations: 1.232 MB / 1.416 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.7062, allocations: 35.97 kB / 1.417 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.7063, allocations: 38.5 kB / 1.417 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=22): time 3.497e-06/0.7063, allocations: 0 / 1.417 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22): time 0.01576/0.7221, allocations: 3.495 MB / 1.42 GB, free: 6.832 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.7222, allocations: 55.41 kB / 1.42 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004673/0.7226, allocations: 296.9 kB / 1.42 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003419/0.723, allocations: 33.7 kB / 1.42 GB, free: 6.43 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/0.7233, allocations: 204.3 kB / 1.421 GB, free: 6.227 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.7235, allocations: 78.86 kB / 1.421 GB, free: 6.148 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/0.7237, allocations: 4 kB / 1.421 GB, free: 6.145 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.7239, allocations: 346.7 kB / 1.421 GB, free: 5.797 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01025/0.7342, allocations: 2.112 MB / 1.423 GB, free: 3.684 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01016/0.7444, allocations: 2.177 MB / 1.425 GB, free: 1.48 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6801/1.425, allocations: 1.937 MB / 1.427 GB, free: 191.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/1.425, allocations: 1.781 kB / 1.427 GB, free: 191.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.02403/1.449, allocations: 4.335 MB / 1.431 GB, free: 191.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/1.449, allocations: 189 kB / 1.431 GB, free: 191.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02034/1.469, allocations: 3.635 MB / 1.435 GB, free: 191.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.386e-05/1.469, allocations: 1.281 kB / 1.435 GB, free: 191.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009419/1.479, allocations: 0.9496 MB / 1.436 GB, free: 191.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.235e-05/1.479, allocations: 2.375 kB / 1.436 GB, free: 191.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008713/1.487, allocations: 0.7969 MB / 1.437 GB, free: 191.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004008/1.488, allocations: 72.89 kB / 1.437 GB, free: 191.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.488, allocations: 4.906 kB / 1.437 GB, free: 191.4 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02277/1.511, allocations: 4.277 MB / 1.441 GB, free: 191.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01872/1.529, allocations: 3.638 MB / 1.444 GB, free: 190.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/1.529, allocations: 2.469 kB / 1.444 GB, free: 190.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008848/1.538, allocations: 0.9543 MB / 1.445 GB, free: 190.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/1.538, allocations: 3.25 kB / 1.445 GB, free: 190.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008604/1.547, allocations: 0.7967 MB / 1.446 GB, free: 190.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004119/1.547, allocations: 71.45 kB / 1.446 GB, free: 190.6 MB / 0.9167 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 () * Number of clocked 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.0006432/1.548, allocations: 222.9 kB / 1.446 GB, free: 190.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/1.548, allocations: 33.56 kB / 1.447 GB, free: 190.4 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008651/1.557, allocations: 1.975 MB / 1.448 GB, free: 189.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/1.557, allocations: 6.75 kB / 1.448 GB, free: 189.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.557, allocations: 2.781 kB / 1.448 GB, free: 189.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/1.557, allocations: 3.656 kB / 1.448 GB, free: 189.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/1.558, allocations: 1.092 MB / 1.45 GB, free: 188.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005748/1.564, allocations: 1.374 MB / 1.451 GB, free: 188.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002632/1.566, allocations: 329.2 kB / 1.451 GB, free: 188.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/1.566, allocations: 3.844 kB / 1.451 GB, free: 188.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.94e-05/1.567, allocations: 26.14 kB / 1.451 GB, free: 188.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/1.567, allocations: 3.812 kB / 1.451 GB, free: 188.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.567, allocations: 7.781 kB / 1.451 GB, free: 188.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005896/1.572, allocations: 1.524 MB / 1.453 GB, free: 188 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003694/1.573, allocations: 233.7 kB / 1.453 GB, free: 187.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/1.573, allocations: 4 kB / 1.453 GB, free: 187.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002357/1.575, allocations: 243.6 kB / 1.453 GB, free: 187.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/1.575, allocations: 22.83 kB / 1.453 GB, free: 187.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.932e-05/1.576, allocations: 30.39 kB / 1.453 GB, free: 187.8 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002107/1.576, allocations: 231.9 kB / 1.453 GB, free: 187.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.7e-07/1.576, allocations: 0 / 1.453 GB, free: 187.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001565/1.577, allocations: 380.4 kB / 1.454 GB, free: 187.6 MB / 0.9167 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 (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.006497/1.584, allocations: 2.155 MB / 1.456 GB, free: 186.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02053/1.604, allocations: 4.471 MB / 1.46 GB, free: 185.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.604, allocations: 2.844 kB / 1.46 GB, free: 185.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003011/1.607, allocations: 0.7187 MB / 1.461 GB, free: 185.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00057/1.608, allocations: 73.95 kB / 1.461 GB, free: 185.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004741/1.613, allocations: 1.797 MB / 1.463 GB, free: 183.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/1.613, allocations: 0.8071 MB / 1.464 GB, free: 183 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004498/1.618, allocations: 0.7065 MB / 1.464 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/1.619, allocations: 235.3 kB / 1.465 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of SimCode: time 1.413e-06/1.619, allocations: 0 / 1.465 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05732/1.676, allocations: 41.16 MB / 1.505 GB, free: 142.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/1.676, allocations: 193.6 kB / 1.505 GB, free: 142.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.847/6.523, allocations: 0 / 1.505 GB, free: 142.3 MB / 0.9167 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