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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.443/2.443, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001388/0.001389, allocations: 180.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.687/1.687, allocations: 221.3 MB / 0.7915 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009625/0.0009625, allocations: 84.02 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.816e-05/4.851e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3455, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.291/1.637, allocations: 425.3 MB / 1.634 GB, free: 9.066 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003355/1.637, allocations: 103.9 kB / 1.634 GB, free: 8.965 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 1.551/3.188, allocations: 368.9 MB / 1.995 GB, free: 163.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.583e-06/3.188, allocations: 0 / 1.995 GB, free: 163.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.754e-05/3.188, allocations: 31.98 kB / 1.995 GB, free: 163.3 MB / 1.151 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.002237/3.19, allocations: 1.434 MB / 1.996 GB, free: 161.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/3.19, allocations: 12.03 kB / 1.996 GB, free: 161.7 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001247/3.19, allocations: 110.5 kB / 1.996 GB, free: 161.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002698/3.191, allocations: 126.5 kB / 1.996 GB, free: 161.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/3.192, allocations: 1.171 MB / 1.997 GB, free: 160.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.334e-05/3.192, allocations: 53.31 kB / 1.997 GB, free: 160.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/3.193, allocations: 68 kB / 1.997 GB, free: 160.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/3.194, allocations: 0.7708 MB / 1.998 GB, free: 159.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/3.194, allocations: 0 / 1.998 GB, free: 159.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.909e-05/3.194, allocations: 27.98 kB / 1.998 GB, free: 159.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/3.194, allocations: 20 kB / 1.998 GB, free: 159.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007816/3.195, allocations: 0.5713 MB / 1.999 GB, free: 158.8 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.003515/3.198, allocations: 3.113 MB / 2.002 GB, free: 155.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005877/3.199, allocations: 432.4 kB / 2.002 GB, free: 155.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/3.199, allocations: 289 kB / 2.003 GB, free: 154.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006249/3.2, allocations: 0.7599 MB / 2.003 GB, free: 153.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/3.2, allocations: 38.84 kB / 2.003 GB, free: 153.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=37): time 3.166e-06/3.2, allocations: 7.938 kB / 2.003 GB, free: 153.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=37): time 0.001003/3.201, allocations: 0.7137 MB / 2.004 GB, free: 153.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/3.201, allocations: 140.8 kB / 2.004 GB, free: 152.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/3.202, allocations: 0.9613 MB / 2.005 GB, free: 151.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.405e-05/3.202, allocations: 37.7 kB / 2.005 GB, free: 151.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/3.202, allocations: 480.5 kB / 2.006 GB, free: 151.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.44e-05/3.202, allocations: 126.2 kB / 2.006 GB, free: 151.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/3.203, allocations: 7.938 kB / 2.006 GB, free: 151.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.5e-05/3.203, allocations: 337.9 kB / 2.006 GB, free: 150.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/3.203, allocations: 316.9 kB / 2.006 GB, free: 150.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/3.203, allocations: 420.2 kB / 2.007 GB, free: 150.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/3.204, allocations: 0.511 MB / 2.007 GB, free: 149.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/3.204, allocations: 0 / 2.007 GB, free: 149.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001138/3.205, allocations: 1.037 MB / 2.008 GB, free: 148.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002084/3.205, allocations: 0.8758 MB / 2.009 GB, free: 147.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/3.205, allocations: 0 / 2.009 GB, free: 147.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/3.205, allocations: 8 kB / 2.009 GB, free: 147.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/3.206, allocations: 83.89 kB / 2.009 GB, free: 147.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/3.206, allocations: 11.94 kB / 2.009 GB, free: 147.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006876/3.206, allocations: 115.2 kB / 2.009 GB, free: 147.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.126e-05/3.206, allocations: 31.92 kB / 2.009 GB, free: 147.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.294e-06/3.206, allocations: 4 kB / 2.009 GB, free: 147.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001055/3.207, allocations: 1.029 MB / 2.01 GB, free: 146.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/3.207, allocations: 4.062 kB / 2.01 GB, free: 146.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/3.207, allocations: 4 kB / 2.01 GB, free: 146.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/3.208, allocations: 91.83 kB / 2.01 GB, free: 146.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/3.208, allocations: 7.984 kB / 2.01 GB, free: 146.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005591/3.208, allocations: 87.39 kB / 2.011 GB, free: 146.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-05/3.208, allocations: 28 kB / 2.011 GB, free: 146 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 44 * 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.0001828/3.209, allocations: 230.8 kB / 2.011 GB, free: 145.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/3.209, allocations: 110.7 kB / 2.011 GB, free: 145.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/3.21, allocations: 0.8623 MB / 2.012 GB, free: 144.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/3.21, allocations: 8 kB / 2.012 GB, free: 144.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/3.21, allocations: 3.984 kB / 2.012 GB, free: 144.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007816/3.211, allocations: 0.9534 MB / 2.013 GB, free: 143.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/3.213, allocations: 2.07 MB / 2.015 GB, free: 141.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/3.213, allocations: 4 kB / 2.015 GB, free: 141.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/3.214, allocations: 63.91 kB / 2.015 GB, free: 141.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/3.214, allocations: 4 kB / 2.015 GB, free: 141.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/3.214, allocations: 15.98 kB / 2.015 GB, free: 141.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/3.214, allocations: 7.938 kB / 2.015 GB, free: 141.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/3.214, allocations: 4 kB / 2.015 GB, free: 141.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/3.215, allocations: 1.472 MB / 2.016 GB, free: 139.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003923/3.216, allocations: 287.6 kB / 2.017 GB, free: 139.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/3.216, allocations: 19.95 kB / 2.017 GB, free: 139.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004901/3.216, allocations: 47.97 kB / 2.017 GB, free: 139.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/3.216, allocations: 55.94 kB / 2.017 GB, free: 139.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.706e-05/3.216, allocations: 24 kB / 2.017 GB, free: 139.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009715/3.217, allocations: 0.7659 MB / 2.017 GB, free: 138.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/3.217, allocations: 0 / 2.017 GB, free: 138.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001676/3.219, allocations: 0.5771 MB / 2.018 GB, free: 138.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.watFlo_mod.i,con.mod.temDif_mod.i,con.mod.airFlo_mod.i) * 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.003021/3.222, allocations: 3.18 MB / 2.021 GB, free: 134.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001733/3.224, allocations: 1.903 MB / 2.023 GB, free: 132.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/3.224, allocations: 0 / 2.023 GB, free: 132.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004774/3.224, allocations: 0.5253 MB / 2.023 GB, free: 132.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002422/3.227, allocations: 0.4946 MB / 2.024 GB, free: 131.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003584/3.23, allocations: 1.819 MB / 2.026 GB, free: 129.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005706/3.231, allocations: 1.089 MB / 2.027 GB, free: 128.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001336/3.232, allocations: 319.2 kB / 2.027 GB, free: 128.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004422/3.233, allocations: 359.3 kB / 2.027 GB, free: 128 MB / 1.151 GB Notification: Performance of SimCode: time 1.333e-06/3.233, allocations: 0 / 2.027 GB, free: 128 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0704/3.303, allocations: 38.58 MB / 2.065 GB, free: 89.92 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/3.304, allocations: 235.4 kB / 2.065 GB, free: 89.69 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.415/6.719, allocations: 0 / 2.065 GB, free: 89.69 MB / 1.151 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) 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