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.001496/0.001496, allocations: 99.7 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.001953/0.001953, 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 2.577/2.577, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.693/4.693, allocations: 409.2 MB / 0.6838 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006263/0.0006268, allocations: 8 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.479/1.48, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.07399/1.554, allocations: 35.27 MB / 1.015 GB, free: 2.906 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02043/1.574, allocations: 7.722 MB / 1.023 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003336/1.578, allocations: 31.81 kB / 1.023 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.004104/1.582, allocations: 0.5054 MB / 1.023 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.009236/1.591, allocations: 1.188 MB / 1.025 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.008363/1.599, allocations: 1.166 MB / 1.026 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007113/1.607, allocations: 1.506 MB / 1.027 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003049/1.61, allocations: 0.6378 MB / 1.028 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004589/1.614, allocations: 0.7278 MB / 1.028 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00231/1.617, allocations: 481.7 kB / 1.029 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0007094/1.617, allocations: 36 kB / 1.029 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005209/1.623, allocations: 0.7372 MB / 1.03 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0009271/1.624, allocations: 223.1 kB / 1.03 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001412/1.625, allocations: 257.1 kB / 1.03 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005794/1.631, allocations: 1.66 MB / 1.032 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/1.631, allocations: 0 / 1.032 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.336e-06/1.631, allocations: 0 / 1.032 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.755e-05/1.631, allocations: 0 / 1.032 GB, free: 2.016 MB / 0.7794 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.00588/1.637, allocations: 1.499 MB / 1.033 GB, free: 428 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 9.585e-05/1.637, allocations: 8.031 kB / 1.033 GB, free: 420 kB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005118/1.638, allocations: 114.4 kB / 1.033 GB, free: 296 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009875/1.639, allocations: 134.5 kB / 1.033 GB, free: 160 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005105/1.644, allocations: 1.128 MB / 1.035 GB, free: 14.98 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/1.644, allocations: 49.31 kB / 1.035 GB, free: 14.94 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003473/1.644, allocations: 75.94 kB / 1.035 GB, free: 14.86 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003164/1.648, allocations: 0.8019 MB / 1.035 GB, free: 14.04 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/1.648, allocations: 0 / 1.035 GB, free: 14.04 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/1.648, allocations: 28 kB / 1.036 GB, free: 14.01 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.237e-05/1.648, allocations: 16 kB / 1.036 GB, free: 14 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/1.65, allocations: 0.6219 MB / 1.036 GB, free: 13.38 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.009098/1.659, allocations: 3.127 MB / 1.039 GB, free: 10.08 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/1.661, allocations: 464.5 kB / 1.04 GB, free: 9.617 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001556/1.663, allocations: 0.783 MB / 1.04 GB, free: 8.668 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.054e-05/1.663, allocations: 38.56 kB / 1.04 GB, free: 8.621 MB / 0.795 GB Notification: Performance of pre-optimization done (n=38): time 6.141e-06/1.663, allocations: 0 / 1.04 GB, free: 8.621 MB / 0.795 GB Notification: Performance of matching and sorting (n=38): time 0.003206/1.666, allocations: 1.243 MB / 1.042 GB, free: 7.297 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/1.666, allocations: 136.5 kB / 1.042 GB, free: 7.133 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002652/1.669, allocations: 0.9967 MB / 1.043 GB, free: 6.117 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001548/1.669, allocations: 41.7 kB / 1.043 GB, free: 6.07 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000823/1.67, allocations: 468.5 kB / 1.043 GB, free: 5.609 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002919/1.67, allocations: 134 kB / 1.043 GB, free: 5.477 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.029e-05/1.67, allocations: 12 kB / 1.043 GB, free: 5.465 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002808/1.67, allocations: 325.9 kB / 1.044 GB, free: 5.141 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009839/1.671, allocations: 328.8 kB / 1.044 GB, free: 4.82 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/1.673, allocations: 439.5 kB / 1.044 GB, free: 4.359 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/1.674, allocations: 0.5196 MB / 1.045 GB, free: 3.801 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/1.674, allocations: 7.938 kB / 1.045 GB, free: 3.793 MB / 0.795 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003193/1.677, allocations: 1.076 MB / 1.046 GB, free: 2.676 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.000845/1.678, allocations: 0.9628 MB / 1.047 GB, free: 1.613 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/1.678, allocations: 4 kB / 1.047 GB, free: 1.609 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/1.678, allocations: 4 kB / 1.047 GB, free: 1.605 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000729/1.679, allocations: 95.88 kB / 1.047 GB, free: 1.512 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/1.679, allocations: 4 kB / 1.047 GB, free: 1.508 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/1.68, allocations: 107.3 kB / 1.047 GB, free: 1.402 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/1.681, allocations: 24 kB / 1.047 GB, free: 1.379 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/1.681, allocations: 4 kB / 1.047 GB, free: 1.375 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00289/1.683, allocations: 1.078 MB / 1.048 GB, free: 268 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/1.684, allocations: 4 kB / 1.048 GB, free: 264 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.093e-05/1.684, allocations: 4 kB / 1.048 GB, free: 260 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007328/1.684, allocations: 91.89 kB / 1.048 GB, free: 168 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/1.684, allocations: 4 kB / 1.048 GB, free: 164 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/1.686, allocations: 107.5 kB / 1.048 GB, free: 56 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/1.686, allocations: 28 kB / 1.048 GB, free: 28 kB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (54): * Single equations (assignments): 48 * 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.001524/1.688, allocations: 478 kB / 1.049 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005057/1.688, allocations: 106.7 kB / 1.049 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002826/1.691, allocations: 0.9249 MB / 1.05 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.479e-05/1.691, allocations: 4 kB / 1.05 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/1.691, allocations: 0 / 1.05 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002344/1.694, allocations: 0.9878 MB / 1.051 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006034/1.7, allocations: 2.078 MB / 1.053 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/1.7, allocations: 4 kB / 1.053 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004703/1.7, allocations: 63.91 kB / 1.053 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-05/1.7, allocations: 7.953 kB / 1.053 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002448/1.7, allocations: 19.98 kB / 1.053 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.672e-05/1.7, allocations: 12.22 kB / 1.053 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/1.7, allocations: 4 kB / 1.053 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005455/1.706, allocations: 1.524 MB / 1.055 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/1.707, allocations: 283.7 kB / 1.055 GB, free: 9.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/1.707, allocations: 16 kB / 1.055 GB, free: 9.156 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009974/1.708, allocations: 63.81 kB / 1.055 GB, free: 9.094 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003525/1.709, allocations: 47.91 kB / 1.055 GB, free: 9.047 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.648e-05/1.709, allocations: 23.98 kB / 1.055 GB, free: 9.023 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002356/1.711, allocations: 0.7141 MB / 1.056 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.2e-07/1.711, allocations: 0 / 1.056 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004214/1.715, allocations: 0.5108 MB / 1.056 GB, free: 7.789 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.00725/1.723, allocations: 2.977 MB / 1.059 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.005897/1.729, allocations: 1.91 MB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-05/1.729, allocations: 0 / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00197/1.731, allocations: 0.5449 MB / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006056/1.737, allocations: 0.5015 MB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01739/1.754, allocations: 4.117 MB / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003194/1.758, allocations: 1.095 MB / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002181/1.76, allocations: 209 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/1.761, allocations: 387.2 kB / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of SimCode: time 2.725e-06/1.761, allocations: 0 / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.191/1.952, allocations: 31.4 MB / 1.098 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00055/1.953, allocations: 250.4 kB / 1.098 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.669/6.622, allocations: 0 / 1.098 GB, free: 12.44 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