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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 99.78 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.3 MB / 0.6653 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003378, allocations: 8 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8208/0.8211, allocations: 142.3 MB / 0.9536 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.002986/0.8242, allocations: 2.262 MB / 0.9558 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003854/0.828, allocations: 2.598 MB / 0.9583 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003179/0.8284, allocations: 3.969 kB / 0.9583 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.8287, allocations: 50.56 kB / 0.9584 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007178/0.8294, allocations: 226.4 kB / 0.9586 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.831, allocations: 0.4936 MB / 0.9591 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007798/0.8318, allocations: 378.7 kB / 0.9595 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.832, allocations: 87.16 kB / 0.9595 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000309/0.8323, allocations: 164.7 kB / 0.9597 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.8326, allocations: 193.5 kB / 0.9599 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.575e-05/0.8327, allocations: 19.25 kB / 0.9599 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009138/0.8336, allocations: 376.6 kB / 0.9603 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.8337, allocations: 71.23 kB / 0.9603 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.463e-05/0.8338, allocations: 97.36 kB / 0.9604 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006267/0.8344, allocations: 0.5164 MB / 0.9609 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.8344, allocations: 0 / 0.9609 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8344, allocations: 0 / 0.9609 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.8344, allocations: 1.156 kB / 0.9609 GB, free: 2.617 MB / 0.7169 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.0009313/0.8354, allocations: 0.6734 MB / 0.9616 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.8354, allocations: 14.02 kB / 0.9616 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.935e-05/0.8355, allocations: 62.61 kB / 0.9617 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09202/0.9275, allocations: 10.6 MB / 0.972 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002276/0.9298, allocations: 0.9236 MB / 0.9729 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.9299, allocations: 16.56 kB / 0.9729 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004554/0.9303, allocations: 28 kB / 0.9729 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01442/0.9448, allocations: 3.558 MB / 0.9764 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.9448, allocations: 0 / 0.9764 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002653/0.9451, allocations: 8 kB / 0.9764 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.9451, allocations: 8 kB / 0.9764 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01305/0.9582, allocations: 2.805 MB / 0.9792 GB, free: 5.777 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01464/0.9729, allocations: 17.16 MB / 0.9959 GB, free: 1.047 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01302/0.9859, allocations: 2.762 MB / 0.9986 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.9861, allocations: 31.98 kB / 0.9987 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.9861, allocations: 34.56 kB / 0.9987 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=22): time 2.665e-06/0.9861, allocations: 0 / 0.9987 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of matching and sorting (n=22): time 0.04211/1.028, allocations: 8.273 MB / 1.007 GB, free: 5.859 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/1.028, allocations: 51.41 kB / 1.007 GB, free: 5.797 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004636/1.029, allocations: 337.7 kB / 1.007 GB, free: 5.457 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0007254/1.03, allocations: 33.7 kB / 1.007 GB, free: 5.418 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/1.03, allocations: 200.3 kB / 1.007 GB, free: 5.223 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004776/1.03, allocations: 74.88 kB / 1.007 GB, free: 5.148 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004252/1.031, allocations: 8 kB / 1.007 GB, free: 5.141 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.031, allocations: 346.8 kB / 1.008 GB, free: 4.793 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01855/1.049, allocations: 3.63 MB / 1.011 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0186/1.068, allocations: 3.686 MB / 1.015 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01849/1.087, allocations: 3.353 MB / 1.018 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/1.087, allocations: 0 / 1.018 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0395/1.126, allocations: 7.523 MB / 1.026 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-05/1.126, allocations: 97.17 kB / 1.026 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03595/1.162, allocations: 6.838 MB / 1.032 GB, free: 11.62 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/1.162, allocations: 0 / 1.032 GB, free: 11.62 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01417/1.177, allocations: 1.697 MB / 1.034 GB, free: 9.926 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/1.177, allocations: 0 / 1.034 GB, free: 9.926 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01278/1.189, allocations: 1.288 MB / 1.035 GB, free: 8.637 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/1.19, allocations: 203.5 kB / 1.035 GB, free: 8.438 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.19, allocations: 5.25 kB / 1.035 GB, free: 8.434 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0395/1.23, allocations: 7.466 MB / 1.043 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03526/1.265, allocations: 6.842 MB / 1.049 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/1.265, allocations: 3.938 kB / 1.049 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01427/1.28, allocations: 1.689 MB / 1.051 GB, free: 8.414 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/1.28, allocations: 8 kB / 1.051 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0129/1.293, allocations: 1.28 MB / 1.052 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001128/1.294, allocations: 215.4 kB / 1.053 GB, free: 6.914 MB / 0.8106 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 () * 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.00146/1.295, allocations: 225.1 kB / 1.053 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005141/1.296, allocations: 35.53 kB / 1.053 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03135/1.327, allocations: 6.34 MB / 1.059 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/1.327, allocations: 4 kB / 1.059 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/1.327, allocations: 0 / 1.059 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/1.327, allocations: 0 / 1.059 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005843/1.333, allocations: 6.487 MB / 1.065 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02778/1.361, allocations: 5.293 MB / 1.07 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01175/1.373, allocations: 1.451 MB / 1.072 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/1.373, allocations: 0 / 1.072 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005652/1.373, allocations: 171.5 kB / 1.072 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/1.373, allocations: 4 kB / 1.072 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.373, allocations: 4 kB / 1.072 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02714/1.401, allocations: 5.428 MB / 1.077 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001493/1.402, allocations: 0.5661 MB / 1.078 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006473/1.403, allocations: 8 kB / 1.078 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01088/1.414, allocations: 1.077 MB / 1.079 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/1.414, allocations: 39.91 kB / 1.079 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007813/1.415, allocations: 175.5 kB / 1.079 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003512/1.415, allocations: 243 kB / 1.079 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.21e-07/1.415, allocations: 4 kB / 1.079 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003476/1.419, allocations: 0.5934 MB / 1.08 GB, free: 9.211 MB / 0.8419 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 (34): * Single equations (assignments): 34 * 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.02838/1.447, allocations: 6.047 MB / 1.086 GB, free: 3.137 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.04838/1.495, allocations: 9.659 MB / 1.095 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.495, allocations: 4 kB / 1.095 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.01387/1.509, allocations: 2.739 MB / 1.098 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/1.511, allocations: 73.45 kB / 1.098 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02432/1.535, allocations: 3.476 MB / 1.101 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/1.536, allocations: 0.804 MB / 1.102 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.01522/1.551, allocations: 1.642 MB / 1.104 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00272/1.554, allocations: 0.5919 MB / 1.104 GB, free: 56 kB / 0.8575 GB Notification: Performance of SimCode: time 9.31e-07/1.554, allocations: 0 / 1.104 GB, free: 56 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2304/1.784, allocations: 82.54 MB / 1.185 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/1.784, allocations: 197.6 kB / 1.185 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.33/9.115, allocations: 3.938 kB / 1.185 GB, free: 13.18 MB / 0.9512 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