Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.004718/0.004718, allocations: 96.31 kB / 15.73 MB, free: 6.039 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.00106/0.00106, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7355/0.7355, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 60.03 kB / 0.5809 GB, free: 1.098 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1381, allocations: 80.2 MB / 0.6592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4979/0.6361, allocations: 190.5 MB / 0.8452 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.007731/0.6438, allocations: 5.695 MB / 0.8508 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.6451, allocations: 37.19 kB / 0.8508 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.6464, allocations: 0.5865 MB / 0.8514 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003291/0.6497, allocations: 1.671 MB / 0.853 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002539/0.6522, allocations: 1.222 MB / 0.8542 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002347/0.6546, allocations: 2.559 MB / 0.8567 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.6557, allocations: 1.036 MB / 0.8577 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.6572, allocations: 1.092 MB / 0.8588 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.6585, allocations: 0.8515 MB / 0.8596 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.6586, allocations: 113.2 kB / 0.8597 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002414/0.661, allocations: 1.563 MB / 0.8613 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003952/0.6614, allocations: 0.494 MB / 0.8617 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005513/0.662, allocations: 0.6429 MB / 0.8624 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.6644, allocations: 2.189 MB / 0.8645 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.6644, allocations: 4.625 kB / 0.8645 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6644, allocations: 0 / 0.8645 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.6644, allocations: 0 / 0.8645 GB, free: 1.938 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002043/0.6665, allocations: 1.552 MB / 0.866 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.6665, allocations: 14.16 kB / 0.866 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001418/0.6667, allocations: 141.8 kB / 0.8662 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002859/0.6696, allocations: 485.8 kB / 0.8666 GB, free: 0.9844 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.671, allocations: 0.862 MB / 0.8675 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.129e-05/0.671, allocations: 69.66 kB / 0.8675 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.6712, allocations: 90.53 kB / 0.8676 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.6731, allocations: 1.17 MB / 0.8688 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.6731, allocations: 0 / 0.8688 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.083e-05/0.6732, allocations: 38.62 kB / 0.8688 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4e-05/0.6732, allocations: 41.19 kB / 0.8688 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/0.6753, allocations: 1.063 MB / 0.8699 GB, free: 0.5391 MB / 0.6387 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.006131/0.6815, allocations: 4.301 MB / 0.8741 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.6833, allocations: 0.7467 MB / 0.8748 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009213/0.6843, allocations: 411.1 kB / 0.8752 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.6845, allocations: 100.8 kB / 0.8753 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.6845, allocations: 44.66 kB / 0.8753 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/0.6845, allocations: 0 / 0.8753 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.005439/0.69, allocations: 2.193 MB / 0.8775 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.69, allocations: 57.56 kB / 0.8775 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009433/0.691, allocations: 0.8629 MB / 0.8784 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.206e-05/0.6911, allocations: 41.89 kB / 0.8784 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/0.6914, allocations: 0.4946 MB / 0.8789 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.6915, allocations: 166.6 kB / 0.8791 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.6917, allocations: 121 kB / 0.8792 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.6918, allocations: 337.9 kB / 0.8795 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008747/0.6927, allocations: 367.3 kB / 0.8799 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009628/0.6937, allocations: 0.5087 MB / 0.8803 GB, free: 13.05 MB / 0.6544 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.005664/0.6993, allocations: 2.259 MB / 0.8826 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6993, allocations: 0 / 0.8826 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002167/0.7015, allocations: 0.9914 MB / 0.8835 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.7016, allocations: 5.5 kB / 0.8835 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.7016, allocations: 2.625 kB / 0.8835 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.7016, allocations: 12.09 kB / 0.8835 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009022/0.7025, allocations: 191.9 kB / 0.8837 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.7025, allocations: 9.391 kB / 0.8837 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009621/0.7035, allocations: 69.22 kB / 0.8838 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.622e-05/0.7036, allocations: 27.59 kB / 0.8838 GB, free: 12.04 MB / 0.6544 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: 17 * 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 (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004127/0.704, allocations: 317 kB / 0.8841 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.7041, allocations: 107.7 kB / 0.8842 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.7043, allocations: 105.6 kB / 0.8843 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.7043, allocations: 4.812 kB / 0.8843 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.7043, allocations: 0 / 0.8843 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001869/0.7062, allocations: 1.021 MB / 0.8853 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004264/0.7105, allocations: 2.142 MB / 0.8874 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.7105, allocations: 3.594 kB / 0.8874 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008628/0.7114, allocations: 167.5 kB / 0.8876 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.7114, allocations: 7.688 kB / 0.8876 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.382e-05/0.7114, allocations: 16.8 kB / 0.8876 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.7115, allocations: 8.656 kB / 0.8876 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.7115, allocations: 9.906 kB / 0.8876 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002869/0.7143, allocations: 1.445 MB / 0.889 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004377/0.7148, allocations: 256.6 kB / 0.8893 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.7149, allocations: 14.73 kB / 0.8893 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000891/0.7158, allocations: 68.38 kB / 0.8894 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.339e-05/0.7159, allocations: 46.56 kB / 0.8894 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.193e-05/0.716, allocations: 29.97 kB / 0.8894 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006479/0.7166, allocations: 0.6007 MB / 0.89 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7166, allocations: 4 kB / 0.89 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007654/0.7174, allocations: 275.9 kB / 0.8903 GB, free: 8.957 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[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): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003384/0.7208, allocations: 2.092 MB / 0.8923 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001965/0.7228, allocations: 0.8169 MB / 0.8931 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.7228, allocations: 1.281 kB / 0.8931 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000954/0.7238, allocations: 398.4 kB / 0.8935 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/0.7262, allocations: 0.5765 MB / 0.8941 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/0.7404, allocations: 8.205 MB / 0.9021 GB, free: 244 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007704/0.7412, allocations: 1.11 MB / 0.9032 GB, free: 15.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009112/0.7421, allocations: 255.8 kB / 0.9034 GB, free: 14.85 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005407/0.7427, allocations: 355.3 kB / 0.9038 GB, free: 14.5 MB / 0.67 GB Notification: Performance of SimCode: time 6.11e-07/0.7427, allocations: 4 kB / 0.9038 GB, free: 14.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05071/0.7934, allocations: 28.76 MB / 0.9318 GB, free: 2.285 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.77/9.563, allocations: 17.17 kB / 0.9319 GB, free: 2.273 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_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_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)