Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.001427/0.001427, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 192.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9088/0.9088, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 64.22 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1305, allocations: 80.93 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.4112/0.5418, allocations: 190.5 MB / 0.7705 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009092/0.5509, allocations: 5.723 MB / 0.7761 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.5522, allocations: 43.75 kB / 0.7762 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.5538, allocations: 0.5747 MB / 0.7767 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004084/0.5579, allocations: 1.832 MB / 0.7785 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002704/0.5606, allocations: 1.176 MB / 0.7797 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003209/0.5638, allocations: 2.945 MB / 0.7826 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.5649, allocations: 0.9531 MB / 0.7835 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.5664, allocations: 1.051 MB / 0.7845 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/0.5681, allocations: 0.9228 MB / 0.7854 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002583/0.5683, allocations: 111.9 kB / 0.7855 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002766/0.5711, allocations: 1.423 MB / 0.7869 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004999/0.5716, allocations: 458.8 kB / 0.7873 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007509/0.5724, allocations: 0.6573 MB / 0.788 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002693/0.5751, allocations: 2.131 MB / 0.7901 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5751, allocations: 0 / 0.7901 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5751, allocations: 0 / 0.7901 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.376e-05/0.5751, allocations: 0 / 0.7901 GB, free: 10.25 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002257/0.5774, allocations: 1.519 MB / 0.7916 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.5774, allocations: 8.031 kB / 0.7916 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001594/0.5776, allocations: 143.2 kB / 0.7917 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001942/0.5796, allocations: 314.4 kB / 0.792 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.5807, allocations: 0.8084 MB / 0.7928 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.5808, allocations: 62 kB / 0.7928 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.5809, allocations: 95.11 kB / 0.7929 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.5824, allocations: 0.9209 MB / 0.7938 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.5824, allocations: 0 / 0.7938 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-05/0.5825, allocations: 40 kB / 0.7939 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.39e-05/0.5826, allocations: 30 kB / 0.7939 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.5839, allocations: 0.8198 MB / 0.7947 GB, free: 5.395 MB / 0.6075 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.005089/0.589, allocations: 3.537 MB / 0.7982 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007731/0.5898, allocations: 0.5043 MB / 0.7986 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004437/0.5903, allocations: 290.5 kB / 0.7989 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/0.5905, allocations: 109.5 kB / 0.799 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.5905, allocations: 47 kB / 0.7991 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 2.344e-06/0.5905, allocations: 0 / 0.7991 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49): time 0.003906/0.5944, allocations: 1.911 MB / 0.8009 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.5945, allocations: 55.84 kB / 0.801 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009381/0.5954, allocations: 0.8058 MB / 0.8018 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.397e-05/0.5955, allocations: 37.7 kB / 0.8018 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003224/0.5958, allocations: 475.4 kB / 0.8023 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.596, allocations: 173.5 kB / 0.8024 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.5962, allocations: 114.2 kB / 0.8025 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.5963, allocations: 337.9 kB / 0.8029 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004382/0.5967, allocations: 237.2 kB / 0.8031 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005186/0.5973, allocations: 370.9 kB / 0.8034 GB, free: 12 MB / 0.6231 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003703/0.601, allocations: 1.523 MB / 0.8049 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.601, allocations: 0 / 0.8049 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001343/0.6023, allocations: 0.7887 MB / 0.8057 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.6024, allocations: 8 kB / 0.8057 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.6024, allocations: 0 / 0.8057 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002992/0.6027, allocations: 93.66 kB / 0.8058 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006609/0.6034, allocations: 155.7 kB / 0.8059 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/0.6061, allocations: 3.313 MB / 0.8092 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008878/0.607, allocations: 27.17 kB / 0.8092 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.847e-05/0.6071, allocations: 28.06 kB / 0.8092 GB, free: 5.727 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004755/0.6076, allocations: 298.9 kB / 0.8095 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.6078, allocations: 90.97 kB / 0.8096 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002009/0.608, allocations: 100.7 kB / 0.8097 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.608, allocations: 4 kB / 0.8097 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.608, allocations: 3.938 kB / 0.8097 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001052/0.6091, allocations: 0.8427 MB / 0.8105 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/0.6119, allocations: 1.786 MB / 0.8123 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.6119, allocations: 4.406 kB / 0.8123 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006364/0.6126, allocations: 131.8 kB / 0.8124 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002307/0.6128, allocations: 68.75 kB / 0.8125 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.084e-05/0.6129, allocations: 16 kB / 0.8125 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/0.6144, allocations: 1.792 MB / 0.8142 GB, free: 272 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.6145, allocations: 4 kB / 0.8142 GB, free: 268 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.6161, allocations: 1.096 MB / 0.8153 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003931/0.6165, allocations: 232 kB / 0.8155 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.6166, allocations: 12 kB / 0.8155 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007381/0.6173, allocations: 30.62 kB / 0.8156 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.6175, allocations: 51.88 kB / 0.8156 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.587e-05/0.6175, allocations: 27.98 kB / 0.8157 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006865/0.6182, allocations: 0.5615 MB / 0.8162 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6182, allocations: 0 / 0.8162 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008569/0.6191, allocations: 280 kB / 0.8165 GB, free: 13.91 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002049/0.6212, allocations: 1.725 MB / 0.8182 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001421/0.6226, allocations: 0.8611 MB / 0.819 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.6226, allocations: 4 kB / 0.819 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005726/0.6232, allocations: 412.1 kB / 0.8194 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/0.6259, allocations: 0.6114 MB / 0.82 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00991/0.6359, allocations: 7.288 MB / 0.8271 GB, free: 2.641 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007368/0.6366, allocations: 1.091 MB / 0.8282 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009283/0.6376, allocations: 211.7 kB / 0.8284 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004706/0.6381, allocations: 353 kB / 0.8287 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of SimCode: time 8.72e-07/0.6381, allocations: 0 / 0.8287 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05798/0.696, allocations: 27.85 MB / 0.8559 GB, free: 5.527 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.83, allocations: 15.81 kB / 0.8559 GB, free: 5.512 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)