Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",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.000912/0.000912, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001163/0.001163, allocations: 168.7 kB / 15.95 MB, free: 204 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.306/1.306, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.381/2.381, allocations: 409.4 MB / 0.684 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003172/0.0003172, allocations: 12 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5947/0.595, allocations: 146.8 MB / 0.9811 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03939/0.6345, allocations: 38.68 MB / 1.019 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01106/0.6456, allocations: 8.297 MB / 1.027 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.6469, allocations: 35.75 kB / 1.027 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.6483, allocations: 405.5 kB / 1.027 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00293/0.6513, allocations: 0.987 MB / 1.028 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002706/0.654, allocations: 0.8477 MB / 1.029 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003598/0.6576, allocations: 2.903 MB / 1.032 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.6588, allocations: 0.626 MB / 1.033 GB, free: 1.359 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00169/0.6605, allocations: 0.801 MB / 1.033 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.6616, allocations: 0.6533 MB / 1.034 GB, free: 15.9 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001894/0.6618, allocations: 36 kB / 1.034 GB, free: 15.86 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002088/0.6639, allocations: 0.8655 MB / 1.035 GB, free: 15 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003545/0.6643, allocations: 243 kB / 1.035 GB, free: 14.76 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000477/0.6648, allocations: 257.1 kB / 1.035 GB, free: 14.5 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.6671, allocations: 1.742 MB / 1.037 GB, free: 12.75 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.6671, allocations: 0 / 1.037 GB, free: 12.75 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6671, allocations: 4 kB / 1.037 GB, free: 12.75 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.338e-05/0.6672, allocations: 0 / 1.037 GB, free: 12.75 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002836/0.67, allocations: 1.524 MB / 1.039 GB, free: 11.13 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.6701, allocations: 12.03 kB / 1.039 GB, free: 11.12 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002266/0.6703, allocations: 106.5 kB / 1.039 GB, free: 11 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003542/0.6707, allocations: 134.5 kB / 1.039 GB, free: 10.87 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/0.6725, allocations: 1.022 MB / 1.04 GB, free: 9.809 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.417e-05/0.6726, allocations: 49.31 kB / 1.04 GB, free: 9.762 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.6727, allocations: 71.95 kB / 1.04 GB, free: 9.691 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.6741, allocations: 0.8136 MB / 1.041 GB, free: 8.855 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.6741, allocations: 0 / 1.041 GB, free: 8.855 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.631e-05/0.6742, allocations: 31.98 kB / 1.041 GB, free: 8.824 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.6742, allocations: 16 kB / 1.041 GB, free: 8.809 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.6753, allocations: 0.618 MB / 1.041 GB, free: 8.191 MB / 0.795 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.004049/0.6794, allocations: 3.22 MB / 1.045 GB, free: 4.801 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007727/0.6802, allocations: 466.7 kB / 1.045 GB, free: 4.336 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004742/0.6807, allocations: 312.7 kB / 1.045 GB, free: 4.027 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007582/0.6814, allocations: 0.7792 MB / 1.046 GB, free: 3.082 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.6815, allocations: 34.56 kB / 1.046 GB, free: 3.039 MB / 0.795 GB Notification: Performance of pre-optimization done (n=38): time 1.843e-06/0.6815, allocations: 0 / 1.046 GB, free: 3.039 MB / 0.795 GB Notification: Performance of matching and sorting (n=38): time 0.001594/0.6831, allocations: 1.013 MB / 1.047 GB, free: 2 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/0.6832, allocations: 148.4 kB / 1.047 GB, free: 1.824 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.6846, allocations: 1.059 MB / 1.048 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/0.6847, allocations: 41.7 kB / 1.048 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/0.685, allocations: 464.6 kB / 1.049 GB, free: 248 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.6852, allocations: 138.1 kB / 1.049 GB, free: 108 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.6852, allocations: 12 kB / 1.049 GB, free: 96 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.6854, allocations: 325.9 kB / 1.049 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005311/0.6859, allocations: 348.8 kB / 1.05 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006116/0.6865, allocations: 458.7 kB / 1.05 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006828/0.6872, allocations: 0.5352 MB / 1.051 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.6872, allocations: 4 kB / 1.051 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001654/0.6889, allocations: 1.108 MB / 1.052 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002098/0.6891, allocations: 321.1 kB / 1.052 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.6891, allocations: 0 / 1.052 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/0.6892, allocations: 4 kB / 1.052 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003846/0.6895, allocations: 91.89 kB / 1.052 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.6896, allocations: 7.938 kB / 1.052 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006975/0.6903, allocations: 115.2 kB / 1.052 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.506e-05/0.6904, allocations: 24 kB / 1.052 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.6904, allocations: 4 kB / 1.052 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00158/0.692, allocations: 1.109 MB / 1.053 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.692, allocations: 0 / 1.053 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.692, allocations: 4 kB / 1.053 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/0.6924, allocations: 95.88 kB / 1.053 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.6924, allocations: 4 kB / 1.053 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006797/0.6931, allocations: 99.44 kB / 1.053 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/0.6931, allocations: 24 kB / 1.053 GB, free: 11.24 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 6 * 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.0006445/0.6938, allocations: 474 kB / 1.054 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002191/0.694, allocations: 110.6 kB / 1.054 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/0.6956, allocations: 0.9258 MB / 1.055 GB, free: 9.691 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.6956, allocations: 7.938 kB / 1.055 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.6957, allocations: 64 / 1.055 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001298/0.697, allocations: 0.9917 MB / 1.056 GB, free: 8.605 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003361/0.7003, allocations: 2.129 MB / 1.058 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.7004, allocations: 3.984 kB / 1.058 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.7007, allocations: 67.91 kB / 1.058 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.7007, allocations: 4 kB / 1.058 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/0.7007, allocations: 12 kB / 1.058 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.7008, allocations: 4 kB / 1.058 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.7008, allocations: 11.92 kB / 1.058 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.7027, allocations: 1.413 MB / 1.059 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004583/0.7031, allocations: 295.6 kB / 1.06 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.7033, allocations: 19.98 kB / 1.06 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005344/0.7039, allocations: 59.86 kB / 1.06 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.704, allocations: 51.91 kB / 1.06 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.103e-05/0.7041, allocations: 19.98 kB / 1.06 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001127/0.7052, allocations: 0.7689 MB / 1.061 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7052, allocations: 0 / 1.061 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001385/0.7066, allocations: 0.507 MB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 4 * 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.002849/0.7094, allocations: 2.239 MB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002273/0.7117, allocations: 1.946 MB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7117, allocations: 3.938 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000672/0.7124, allocations: 0.5419 MB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/0.7145, allocations: 0.5158 MB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/0.7275, allocations: 7.239 MB / 1.073 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007374/0.7283, allocations: 1.072 MB / 1.074 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0008302/0.7291, allocations: 209.4 kB / 1.075 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005228/0.7297, allocations: 391.2 kB / 1.075 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of SimCode: time 6.11e-07/0.7297, allocations: 0 / 1.075 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05/0.7797, allocations: 32.31 MB / 1.106 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003034/0.78, allocations: 255.5 kB / 1.107 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/3.126, allocations: 0 / 1.107 GB, free: 4.238 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector_res.mat does not exist to compare? outputFormat=mat