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.001281/0.001281, allocations: 100.1 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.001427/0.001427, 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.421/1.421, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.407/2.407, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003471, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7362/0.7366, allocations: 142.3 MB / 0.9536 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03658/0.7732, allocations: 35.26 MB / 0.988 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01227/0.7855, allocations: 7.727 MB / 0.9956 GB, free: 5.094 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001771/0.7873, allocations: 35.75 kB / 0.9956 GB, free: 5.059 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001976/0.7893, allocations: 0.5054 MB / 0.9961 GB, free: 4.551 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004139/0.7935, allocations: 1.184 MB / 0.9973 GB, free: 3.363 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003787/0.7973, allocations: 1.169 MB / 0.9984 GB, free: 2.211 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003343/0.8006, allocations: 1.502 MB / 0.9999 GB, free: 0.7109 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.8018, allocations: 0.6533 MB / 1.001 GB, free: 44 kB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.8033, allocations: 0.7318 MB / 1.001 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006352/0.804, allocations: 477.8 kB / 1.002 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.189e-05/0.8041, allocations: 36 kB / 1.002 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.806, allocations: 0.7332 MB / 1.002 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002377/0.8062, allocations: 223.2 kB / 1.003 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0002754/0.8065, allocations: 265.1 kB / 1.003 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.8084, allocations: 1.66 MB / 1.005 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.8084, allocations: 0 / 1.005 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8084, allocations: 0 / 1.005 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.122e-05/0.8084, allocations: 0 / 1.005 GB, free: 11.92 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.002363/0.8108, allocations: 1.499 MB / 1.006 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.8109, allocations: 8.031 kB / 1.006 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001335/0.811, allocations: 110.5 kB / 1.006 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002579/0.8113, allocations: 130.5 kB / 1.006 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.813, allocations: 1.132 MB / 1.007 GB, free: 8.895 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.054e-05/0.813, allocations: 49.31 kB / 1.007 GB, free: 8.848 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.998e-05/0.8131, allocations: 68 kB / 1.007 GB, free: 8.781 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.8144, allocations: 0.8019 MB / 1.008 GB, free: 7.957 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.8144, allocations: 4 kB / 1.008 GB, free: 7.953 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.983e-05/0.8145, allocations: 24 kB / 1.008 GB, free: 7.93 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.8145, allocations: 19.95 kB / 1.008 GB, free: 7.91 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.8155, allocations: 0.6141 MB / 1.009 GB, free: 7.297 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.003738/0.8193, allocations: 3.127 MB / 1.012 GB, free: 4 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007483/0.8201, allocations: 464.3 kB / 1.012 GB, free: 3.539 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007632/0.8208, allocations: 0.7791 MB / 1.013 GB, free: 2.594 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.8209, allocations: 42.55 kB / 1.013 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=38): time 2.214e-06/0.8209, allocations: 0 / 1.013 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of matching and sorting (n=38): time 0.001693/0.8226, allocations: 1.247 MB / 1.014 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.484e-05/0.8227, allocations: 140.8 kB / 1.015 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.8239, allocations: 0.9967 MB / 1.015 GB, free: 32 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/0.824, allocations: 33.78 kB / 1.016 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003654/0.8244, allocations: 468.5 kB / 1.016 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.8245, allocations: 134 kB / 1.016 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.8245, allocations: 8 kB / 1.016 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.8246, allocations: 330 kB / 1.016 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004723/0.8251, allocations: 320.8 kB / 1.017 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005468/0.8257, allocations: 443.5 kB / 1.017 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006026/0.8263, allocations: 0.5196 MB / 1.018 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8263, allocations: 0 / 1.018 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001453/0.8277, allocations: 1.072 MB / 1.019 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003964/0.8282, allocations: 0.9667 MB / 1.02 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.8282, allocations: 3.938 kB / 1.02 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.8282, allocations: 7.938 kB / 1.02 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.8286, allocations: 95.89 kB / 1.02 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.8286, allocations: 11.94 kB / 1.02 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006557/0.8293, allocations: 111.2 kB / 1.02 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/0.8293, allocations: 31.98 kB / 1.02 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-06/0.8293, allocations: 4 kB / 1.02 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001401/0.8307, allocations: 1.066 MB / 1.021 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.8308, allocations: 4 kB / 1.021 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-06/0.8308, allocations: 7.938 kB / 1.021 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/0.8311, allocations: 91.95 kB / 1.021 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.8311, allocations: 11.98 kB / 1.021 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00059/0.8317, allocations: 105.2 kB / 1.021 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/0.8318, allocations: 31.98 kB / 1.021 GB, free: 9.938 MB / 0.7794 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.0005914/0.8324, allocations: 478 kB / 1.022 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.8325, allocations: 106.7 kB / 1.022 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.8339, allocations: 0.9237 MB / 1.023 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.8339, allocations: 4 kB / 1.023 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.834, allocations: 0 / 1.023 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001078/0.835, allocations: 0.9881 MB / 1.024 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/0.8379, allocations: 2.079 MB / 1.026 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.838, allocations: 0 / 1.026 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.8382, allocations: 71.89 kB / 1.026 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.8382, allocations: 4 kB / 1.026 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/0.8383, allocations: 12 kB / 1.026 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.8383, allocations: 4 kB / 1.026 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.8383, allocations: 8.219 kB / 1.026 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.8402, allocations: 1.542 MB / 1.027 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003967/0.8406, allocations: 287.5 kB / 1.028 GB, free: 3.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.8407, allocations: 20.06 kB / 1.028 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005099/0.8412, allocations: 51.89 kB / 1.028 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.8414, allocations: 43.95 kB / 1.028 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.753e-05/0.8414, allocations: 23.98 kB / 1.028 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000952/0.8424, allocations: 0.7218 MB / 1.028 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8424, allocations: 0 / 1.028 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001548/0.8439, allocations: 0.5109 MB / 1.029 GB, free: 1.688 MB / 0.7794 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.003416/0.8474, allocations: 2.958 MB / 1.032 GB, free: 14.64 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00241/0.8498, allocations: 1.911 MB / 1.034 GB, free: 12.57 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.8498, allocations: 4.875 kB / 1.034 GB, free: 12.57 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0007052/0.8505, allocations: 0.549 MB / 1.034 GB, free: 11.98 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.8528, allocations: 500 kB / 1.035 GB, free: 11.5 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004977/0.8578, allocations: 4.125 MB / 1.039 GB, free: 7.258 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006835/0.8585, allocations: 1.087 MB / 1.04 GB, free: 6.141 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0007954/0.8593, allocations: 216.1 kB / 1.04 GB, free: 5.941 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004947/0.8598, allocations: 387.3 kB / 1.04 GB, free: 5.562 MB / 0.795 GB Notification: Performance of SimCode: time 1.503e-06/0.8598, allocations: 0 / 1.04 GB, free: 5.562 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0624/0.9222, allocations: 31.39 MB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/0.9225, allocations: 252.2 kB / 1.071 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/3.337, allocations: 0 / 1.071 GB, free: 6.355 MB / 0.8262 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