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.255/2.255, 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.001179/0.001179, allocations: 192.5 kB / 487.4 MB, free: 5.035 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.572/1.572, allocations: 221.5 MB / 0.7824 GB, free: 0.9453 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.0009893/0.0009893, allocations: 100.6 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.156e-05/2.158e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2938, allocations: 142.3 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/1.32, allocations: 156.8 MB / 1.359 GB, free: 18.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/1.321, allocations: 91 kB / 1.359 GB, free: 18.03 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04334/1.364, allocations: 16.44 MB / 1.375 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.633e-06/1.364, allocations: 0 / 1.375 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.337e-05/1.364, allocations: 7.688 kB / 1.375 GB, free: 32.49 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.0009934/1.365, allocations: 0.6433 MB / 1.376 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/1.365, allocations: 11.5 kB / 1.376 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09241/1.457, allocations: 11.07 MB / 1.387 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01434/1.472, allocations: 2.497 MB / 1.389 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/1.472, allocations: 7.75 kB / 1.389 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004403/1.472, allocations: 19.31 kB / 1.389 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009335/1.473, allocations: 0.6914 MB / 1.39 GB, free: 27.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/1.475, allocations: 0.9281 MB / 1.391 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/1.475, allocations: 0 / 1.391 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/1.475, allocations: 3.938 kB / 1.391 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/1.475, allocations: 15.73 kB / 1.391 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00484/1.48, allocations: 5.421 MB / 1.396 GB, free: 21.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008011/1.48, allocations: 0.6863 MB / 1.397 GB, free: 21.85 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000642/1.481, allocations: 0.5343 MB / 1.397 GB, free: 21.81 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.68e-05/1.481, allocations: 29.05 kB / 1.397 GB, free: 21.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/1.481, allocations: 37.62 kB / 1.397 GB, free: 21.76 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 3.056e-06/1.481, allocations: 0 / 1.397 GB, free: 21.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22): time 0.006403/1.488, allocations: 1.86 MB / 1.399 GB, free: 21.36 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/1.488, allocations: 59.25 kB / 1.399 GB, free: 21.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/1.488, allocations: 240.8 kB / 1.399 GB, free: 21.17 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000205/1.488, allocations: 29.55 kB / 1.4 GB, free: 21.14 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/1.488, allocations: 203.8 kB / 1.4 GB, free: 21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/1.488, allocations: 72.2 kB / 1.4 GB, free: 20.95 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/1.489, allocations: 0 / 1.4 GB, free: 20.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001664/1.489, allocations: 343.5 kB / 1.4 GB, free: 20.62 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/1.49, allocations: 1.055 MB / 1.401 GB, free: 20.55 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/1.492, allocations: 1.121 MB / 1.402 GB, free: 20.42 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/1.502, allocations: 2.441 MB / 1.405 GB, free: 19.03 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/1.502, allocations: 0 / 1.405 GB, free: 19.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.01318/1.515, allocations: 3.753 MB / 1.408 GB, free: 16.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.081e-05/1.516, allocations: 93 kB / 1.408 GB, free: 16.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01231/1.528, allocations: 3.337 MB / 1.412 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.307e-05/1.528, allocations: 3.953 kB / 1.412 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008686/1.537, allocations: 0.9513 MB / 1.413 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/1.537, allocations: 4 kB / 1.413 GB, free: 12.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008237/1.545, allocations: 0.7836 MB / 1.413 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004125/1.545, allocations: 75.56 kB / 1.413 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.545, allocations: 6.031 kB / 1.413 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01494/1.56, allocations: 3.698 MB / 1.417 GB, free: 9.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01349/1.574, allocations: 3.327 MB / 1.42 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/1.574, allocations: 4 kB / 1.42 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00876/1.583, allocations: 0.9429 MB / 1.421 GB, free: 5.559 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/1.583, allocations: 7.984 kB / 1.421 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008165/1.591, allocations: 0.7757 MB / 1.422 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004505/1.592, allocations: 74.69 kB / 1.422 GB, free: 4.711 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 (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.0005959/1.592, allocations: 112.9 kB / 1.422 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007273/1.599, allocations: 1.85 MB / 1.424 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/1.6, allocations: 31.62 kB / 1.424 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00674/1.606, allocations: 1.79 MB / 1.426 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/1.606, allocations: 8 kB / 1.426 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/1.607, allocations: 0 / 1.426 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/1.607, allocations: 7.875 kB / 1.426 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/1.608, allocations: 1.039 MB / 1.427 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003913/1.612, allocations: 1.185 MB / 1.428 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002728/1.615, allocations: 326.9 kB / 1.428 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.48e-05/1.615, allocations: 7.984 kB / 1.428 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.764e-05/1.615, allocations: 23.53 kB / 1.428 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/1.615, allocations: 4 kB / 1.428 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.615, allocations: 0 / 1.428 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004123/1.619, allocations: 1.324 MB / 1.43 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004421/1.619, allocations: 237 kB / 1.43 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/1.62, allocations: 0 / 1.43 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002643/1.622, allocations: 238.9 kB / 1.43 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.824e-05/1.622, allocations: 27.22 kB / 1.43 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.738e-05/1.622, allocations: 23.97 kB / 1.43 GB, free: 14 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002649/1.623, allocations: 187.4 kB / 1.43 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/1.623, allocations: 0 / 1.43 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001962/1.625, allocations: 362.5 kB / 1.431 GB, free: 13.5 MB / 0.8542 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.004981/1.63, allocations: 1.952 MB / 1.432 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004462/1.634, allocations: 2.387 MB / 1.435 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.634, allocations: 4 kB / 1.435 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000666/1.635, allocations: 415.4 kB / 1.435 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005472/1.635, allocations: 55.69 kB / 1.435 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/1.637, allocations: 0.7302 MB / 1.436 GB, free: 9.504 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006003/1.638, allocations: 0.8117 MB / 1.437 GB, free: 8.664 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005086/1.643, allocations: 0.7185 MB / 1.437 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/1.644, allocations: 228 kB / 1.438 GB, free: 7.809 MB / 0.8542 GB Notification: Performance of SimCode: time 8.72e-07/1.644, allocations: 0 / 1.438 GB, free: 7.809 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08293/1.727, allocations: 39.22 MB / 1.476 GB, free: 0.5078 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002325/1.728, allocations: 159 kB / 1.476 GB, free: 324 kB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.818/6.546, allocations: 4 kB / 1.476 GB, free: 320 kB / 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