Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_9_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.0007991/0.0007991, allocations: 86.25 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.000876/0.000876, 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.289/1.289, allocations: 223.3 MB / 240 MB, free: 5.418 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.255/2.255, allocations: 390.4 MB / 0.6655 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002856/0.0002856, allocations: 11.94 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.54/0.5403, allocations: 142.3 MB / 0.9539 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03449/0.5749, allocations: 38.67 MB / 0.9916 GB, free: 9.23 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.5856, allocations: 8.294 MB / 0.9997 GB, free: 1.062 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007645/0.5864, allocations: 31.81 kB / 0.9998 GB, free: 1.031 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.5875, allocations: 425.4 kB / 1 GB, free: 0.6133 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002051/0.5895, allocations: 0.9832 MB / 1.001 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.5916, allocations: 0.8427 MB / 1.002 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002758/0.5944, allocations: 2.899 MB / 1.005 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008423/0.5952, allocations: 0.6376 MB / 1.005 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.5964, allocations: 0.7932 MB / 1.006 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007307/0.5971, allocations: 0.6493 MB / 1.007 GB, free: 9.781 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.841e-05/0.5972, allocations: 40 kB / 1.007 GB, free: 9.742 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.5988, allocations: 0.8616 MB / 1.008 GB, free: 8.879 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.000232/0.599, allocations: 250.9 kB / 1.008 GB, free: 8.637 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.5992, allocations: 261.1 kB / 1.008 GB, free: 8.375 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.6008, allocations: 1.738 MB / 1.01 GB, free: 6.633 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6009, allocations: 0 / 1.01 GB, free: 6.633 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6009, allocations: 0 / 1.01 GB, free: 6.633 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.6009, allocations: 0 / 1.01 GB, free: 6.633 MB / 0.7637 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.002062/0.6029, allocations: 1.526 MB / 1.011 GB, free: 5.012 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.603, allocations: 15.97 kB / 1.011 GB, free: 4.996 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.6031, allocations: 110.4 kB / 1.011 GB, free: 4.879 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002493/0.6034, allocations: 134.5 kB / 1.012 GB, free: 4.746 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.6049, allocations: 1.023 MB / 1.013 GB, free: 3.676 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.6049, allocations: 49.31 kB / 1.013 GB, free: 3.629 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.787e-05/0.605, allocations: 64 kB / 1.013 GB, free: 3.566 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.6063, allocations: 0.8136 MB / 1.014 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.6064, allocations: 0 / 1.014 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.216e-05/0.6064, allocations: 28 kB / 1.014 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.6065, allocations: 16 kB / 1.014 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.6075, allocations: 0.618 MB / 1.014 GB, free: 2.07 MB / 0.7637 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.003641/0.6112, allocations: 3.217 MB / 1.017 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007487/0.6119, allocations: 461.3 kB / 1.018 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004683/0.6124, allocations: 316.6 kB / 1.018 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007489/0.6132, allocations: 0.7869 MB / 1.019 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.6132, allocations: 38.56 kB / 1.019 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=38): time 1.693e-06/0.6132, allocations: 0 / 1.019 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=38): time 0.001525/0.6147, allocations: 1.009 MB / 1.02 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.6148, allocations: 144.4 kB / 1.02 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.6161, allocations: 1.071 MB / 1.021 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.6162, allocations: 33.7 kB / 1.021 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000383/0.6166, allocations: 468.6 kB / 1.022 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.6167, allocations: 130.1 kB / 1.022 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.6167, allocations: 12 kB / 1.022 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.6168, allocations: 322 kB / 1.022 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005232/0.6174, allocations: 356.8 kB / 1.022 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005813/0.618, allocations: 454.7 kB / 1.023 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006202/0.6186, allocations: 0.5391 MB / 1.023 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.6186, allocations: 4 kB / 1.023 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001433/0.62, allocations: 1.107 MB / 1.024 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001797/0.6202, allocations: 331.4 kB / 1.025 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.6202, allocations: 4 kB / 1.025 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.6203, allocations: 8 kB / 1.025 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.6206, allocations: 91.83 kB / 1.025 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.6207, allocations: 4 kB / 1.025 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005678/0.6212, allocations: 103.3 kB / 1.025 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/0.6213, allocations: 20 kB / 1.025 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.059e-06/0.6213, allocations: 4 kB / 1.025 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001466/0.6228, allocations: 1.113 MB / 1.026 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.6228, allocations: 0 / 1.026 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.663e-06/0.6228, allocations: 7.984 kB / 1.026 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.6231, allocations: 100 kB / 1.026 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.6232, allocations: 11.89 kB / 1.026 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005228/0.6237, allocations: 101 kB / 1.026 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/0.6237, allocations: 24 kB / 1.026 GB, free: 5.098 MB / 0.7794 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.000446/0.6242, allocations: 470.1 kB / 1.027 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.6243, allocations: 106.8 kB / 1.027 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.6258, allocations: 0.9292 MB / 1.028 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.6258, allocations: 11.98 kB / 1.028 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.6258, allocations: 7.953 kB / 1.028 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001122/0.6269, allocations: 0.9803 MB / 1.029 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/0.6298, allocations: 2.126 MB / 1.031 GB, free: 224 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.6298, allocations: 4.062 kB / 1.031 GB, free: 220 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.63, allocations: 64.19 kB / 1.031 GB, free: 156 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.6301, allocations: 8 kB / 1.031 GB, free: 148 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.586e-05/0.6301, allocations: 20 kB / 1.031 GB, free: 128 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.6301, allocations: 11.92 kB / 1.031 GB, free: 116 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.6301, allocations: 0 / 1.031 GB, free: 116 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.6319, allocations: 1.416 MB / 1.032 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003564/0.6323, allocations: 299.5 kB / 1.032 GB, free: 14.32 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.6324, allocations: 19.98 kB / 1.032 GB, free: 14.3 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005049/0.6329, allocations: 48.02 kB / 1.033 GB, free: 14.26 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.6331, allocations: 47.95 kB / 1.033 GB, free: 14.21 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.457e-05/0.6331, allocations: 23.98 kB / 1.033 GB, free: 14.19 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000936/0.6341, allocations: 0.765 MB / 1.033 GB, free: 13.41 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6341, allocations: 3.938 kB / 1.033 GB, free: 13.41 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001175/0.6352, allocations: 0.5186 MB / 1.034 GB, free: 12.89 MB / 0.795 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.002553/0.6378, allocations: 2.216 MB / 1.036 GB, free: 10.61 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002041/0.6399, allocations: 1.947 MB / 1.038 GB, free: 8.516 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6399, allocations: 4.062 kB / 1.038 GB, free: 8.512 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006339/0.6405, allocations: 0.5487 MB / 1.038 GB, free: 7.926 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/0.6425, allocations: 0.5045 MB / 1.039 GB, free: 7.43 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.6543, allocations: 7.247 MB / 1.046 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005931/0.6549, allocations: 1.072 MB / 1.047 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0007023/0.6556, allocations: 204.1 kB / 1.047 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004609/0.6561, allocations: 383.3 kB / 1.048 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of SimCode: time 4.21e-07/0.6561, allocations: 4 kB / 1.048 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04704/0.7031, allocations: 32.3 MB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/0.7033, allocations: 258.2 kB / 1.079 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.251/2.955, allocations: 64 / 1.079 GB, free: 14.14 MB / 0.8419 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector_res.mat does not exist to compare? outputFormat=mat