Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.00108/0.00108, allocations: 108 kB / 15.61 MB, free: 152 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.001092/0.001091, allocations: 197.7 kB / 16.53 MB, free: 6.664 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.479/1.479, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8035/0.8035, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 60.16 kB / 0.5019 GB, free: 8.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1692, allocations: 80.2 MB / 0.5802 GB, free: 8.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.5702/0.7395, allocations: 190.6 MB / 0.7663 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008866/0.7484, allocations: 5.708 MB / 0.7719 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.75, allocations: 43.75 kB / 0.7719 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.7516, allocations: 0.5786 MB / 0.7725 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00464/0.7562, allocations: 1.612 MB / 0.774 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003198/0.7595, allocations: 1.202 MB / 0.7752 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004132/0.7636, allocations: 2.574 MB / 0.7777 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001702/0.7653, allocations: 0.8769 MB / 0.7786 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002784/0.7681, allocations: 1.047 MB / 0.7796 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002084/0.7702, allocations: 0.7992 MB / 0.7804 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003384/0.7706, allocations: 96 kB / 0.7805 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004123/0.7747, allocations: 1.543 MB / 0.782 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006953/0.7754, allocations: 406.9 kB / 0.7824 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.7766, allocations: 0.595 MB / 0.783 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003627/0.7802, allocations: 2.006 MB / 0.7849 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.7803, allocations: 0 / 0.7849 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7803, allocations: 0 / 0.7849 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.685e-05/0.7803, allocations: 0 / 0.7849 GB, free: 1.074 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002274/0.7826, allocations: 1.444 MB / 0.7863 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.7826, allocations: 16.02 kB / 0.7863 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/0.7828, allocations: 122.6 kB / 0.7865 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002581/0.7854, allocations: 418.3 kB / 0.7869 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.7867, allocations: 0.7609 MB / 0.7876 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003449/0.787, allocations: 121.9 kB / 0.7877 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.7872, allocations: 72 kB / 0.7878 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.7889, allocations: 0.9944 MB / 0.7888 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.7889, allocations: 0 / 0.7888 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.565e-05/0.789, allocations: 32 kB / 0.7888 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.468e-05/0.7891, allocations: 30 kB / 0.7888 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.791, allocations: 0.8822 MB / 0.7897 GB, free: 12.07 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.005666/0.7966, allocations: 3.517 MB / 0.7931 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.7983, allocations: 0.6243 MB / 0.7937 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000792/0.7991, allocations: 329.3 kB / 0.794 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/0.7993, allocations: 97.75 kB / 0.7941 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.7993, allocations: 50.55 kB / 0.7942 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.843e-06/0.7993, allocations: 0 / 0.7942 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.007901/0.8072, allocations: 2.413 MB / 0.7965 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.8073, allocations: 55.41 kB / 0.7966 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009132/0.8082, allocations: 0.7941 MB / 0.7974 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.659e-05/0.8083, allocations: 33.7 kB / 0.7974 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000326/0.8086, allocations: 455.6 kB / 0.7978 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.8087, allocations: 145.9 kB / 0.798 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.8089, allocations: 106.1 kB / 0.7981 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.809, allocations: 326 kB / 0.7984 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000797/0.8098, allocations: 308.8 kB / 0.7987 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008923/0.8107, allocations: 421.8 kB / 0.7991 GB, free: 2.062 MB / 0.6075 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.005334/0.8161, allocations: 1.911 MB / 0.8009 GB, free: 100 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.8161, allocations: 3.938 kB / 0.801 GB, free: 96 kB / 0.6075 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003221/0.8193, allocations: 1.038 MB / 0.802 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.8194, allocations: 8 kB / 0.802 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.8194, allocations: 4 kB / 0.802 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006279/0.82, allocations: 188.3 kB / 0.8022 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007481/0.8208, allocations: 151.7 kB / 0.8023 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004571/0.8254, allocations: 2.226 MB / 0.8045 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.8266, allocations: 61.38 kB / 0.8045 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.516e-05/0.8267, allocations: 20 kB / 0.8046 GB, free: 12.27 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 (59): * Single equations (assignments): 58 * 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 prepare postOptimizeDAE: time 0.0007053/0.8274, allocations: 281.6 kB / 0.8048 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003138/0.8277, allocations: 86.97 kB / 0.8049 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.828, allocations: 96.23 kB / 0.805 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.8281, allocations: 8 kB / 0.805 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.8281, allocations: 0 / 0.805 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003052/0.8311, allocations: 0.9023 MB / 0.8059 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005573/0.8367, allocations: 2.124 MB / 0.808 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.8367, allocations: 4 kB / 0.808 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006509/0.8374, allocations: 132.2 kB / 0.8081 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005583/0.838, allocations: 185.4 kB / 0.8083 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.355e-05/0.838, allocations: 12 kB / 0.8083 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003577/0.8416, allocations: 2.19 MB / 0.8104 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/0.8416, allocations: 11.88 kB / 0.8104 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003948/0.8456, allocations: 1.443 MB / 0.8118 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004719/0.8461, allocations: 240 kB / 0.8121 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.8463, allocations: 16.06 kB / 0.8121 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000939/0.8472, allocations: 57.16 kB / 0.8121 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.8473, allocations: 47.83 kB / 0.8122 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-05/0.8474, allocations: 36.59 kB / 0.8122 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008229/0.8482, allocations: 0.5498 MB / 0.8128 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8483, allocations: 0 / 0.8128 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001169/0.8494, allocations: 272 kB / 0.813 GB, free: 3.242 MB / 0.6231 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 (37): * Single equations (assignments): 36 * 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.0048/0.8542, allocations: 2.095 MB / 0.8151 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002244/0.8565, allocations: 0.8526 MB / 0.8159 GB, free: 228 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.8565, allocations: 0 / 0.8159 GB, free: 228 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.8576, allocations: 464.6 kB / 0.8163 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002636/0.8602, allocations: 0.5539 MB / 0.8169 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01635/0.8766, allocations: 7.966 MB / 0.8247 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008443/0.8774, allocations: 1.048 MB / 0.8257 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009841/0.8785, allocations: 207.2 kB / 0.8259 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004637/0.8789, allocations: 319.3 kB / 0.8262 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of SimCode: time 8.82e-07/0.8789, allocations: 0 / 0.8262 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06227/0.9412, allocations: 27.68 MB / 0.8532 GB, free: 10.21 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/12.2, allocations: 9.438 kB / 0.8532 GB, free: 10.2 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)