Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_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.004972/0.004972, allocations: 100.2 kB / 15.73 MB, free: 6.062 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.001228/0.001228, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7735/0.7735, allocations: 135.1 MB / 425.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 63.53 kB / 0.5852 GB, free: 21.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1391, allocations: 80.92 MB / 0.6642 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.5194/0.6585, allocations: 190.5 MB / 0.8502 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008316/0.6669, allocations: 5.694 MB / 0.8558 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009281/0.6678, allocations: 40.81 kB / 0.8558 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.6692, allocations: 0.5935 MB / 0.8564 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003388/0.6726, allocations: 1.664 MB / 0.858 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002749/0.6754, allocations: 1.222 MB / 0.8592 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002738/0.6781, allocations: 2.555 MB / 0.8617 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/0.6793, allocations: 1.043 MB / 0.8627 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.6809, allocations: 1.09 MB / 0.8638 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.6823, allocations: 0.8441 MB / 0.8646 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.6824, allocations: 108 kB / 0.8647 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002582/0.685, allocations: 1.571 MB / 0.8662 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004146/0.6854, allocations: 0.4948 MB / 0.8667 GB, free: 20 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005909/0.686, allocations: 0.6377 MB / 0.8673 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002492/0.6885, allocations: 2.194 MB / 0.8695 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6886, allocations: 4 kB / 0.8695 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6886, allocations: 0 / 0.8695 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.6886, allocations: 0 / 0.8695 GB, free: 13.18 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.002349/0.6909, allocations: 1.556 MB / 0.871 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.691, allocations: 13.11 kB / 0.871 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.6912, allocations: 139.3 kB / 0.8711 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002921/0.6941, allocations: 474.8 kB / 0.8716 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.6956, allocations: 0.8638 MB / 0.8724 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.587e-05/0.6956, allocations: 73.92 kB / 0.8725 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.6958, allocations: 84 kB / 0.8726 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.6979, allocations: 1.171 MB / 0.8737 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.6979, allocations: 0 / 0.8737 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.966e-05/0.698, allocations: 36 kB / 0.8738 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-05/0.6981, allocations: 37.98 kB / 0.8738 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.7004, allocations: 1.066 MB / 0.8748 GB, free: 7.551 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.006438/0.7068, allocations: 4.309 MB / 0.8791 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/0.7087, allocations: 0.7478 MB / 0.8798 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009217/0.7096, allocations: 400.2 kB / 0.8802 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001802/0.7098, allocations: 109.1 kB / 0.8803 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.7099, allocations: 46.5 kB / 0.8803 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 1.854e-06/0.7099, allocations: 0 / 0.8803 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.00557/0.7154, allocations: 2.204 MB / 0.8825 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.7155, allocations: 55.41 kB / 0.8825 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009283/0.7164, allocations: 0.8608 MB / 0.8834 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.602e-05/0.7165, allocations: 41.7 kB / 0.8834 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.7168, allocations: 0.4923 MB / 0.8839 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.717, allocations: 166.6 kB / 0.884 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.7172, allocations: 122.3 kB / 0.8842 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.973e-05/0.7173, allocations: 334 kB / 0.8845 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009279/0.7182, allocations: 365 kB / 0.8848 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.7192, allocations: 0.5186 MB / 0.8853 GB, free: 12.37 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.005908/0.7252, allocations: 2.246 MB / 0.8875 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.7252, allocations: 0 / 0.8875 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002236/0.7274, allocations: 0.9903 MB / 0.8885 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.7275, allocations: 8 kB / 0.8885 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.7275, allocations: 4 kB / 0.8885 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.7275, allocations: 11.94 kB / 0.8885 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009261/0.7284, allocations: 191.8 kB / 0.8887 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.7284, allocations: 11.94 kB / 0.8887 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009343/0.7294, allocations: 71.88 kB / 0.8888 GB, free: 8.762 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.766e-05/0.7295, allocations: 27.98 kB / 0.8888 GB, free: 8.734 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.00041/0.7299, allocations: 309.6 kB / 0.8891 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.73, allocations: 99.39 kB / 0.8892 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.7302, allocations: 100.8 kB / 0.8893 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.361e-06/0.7302, allocations: 7.938 kB / 0.8893 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.7303, allocations: 0 / 0.8893 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001933/0.7322, allocations: 1.038 MB / 0.8903 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004394/0.7366, allocations: 2.137 MB / 0.8924 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.7366, allocations: 4.406 kB / 0.8924 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008785/0.7375, allocations: 163.7 kB / 0.8926 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.7375, allocations: 15.98 kB / 0.8926 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.7376, allocations: 12 kB / 0.8926 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.7376, allocations: 4 kB / 0.8926 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.7376, allocations: 7.938 kB / 0.8926 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003021/0.7406, allocations: 1.446 MB / 0.894 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004321/0.7411, allocations: 256.5 kB / 0.8943 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.7412, allocations: 12 kB / 0.8943 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008934/0.7421, allocations: 76.81 kB / 0.8943 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.086e-05/0.7422, allocations: 39.84 kB / 0.8944 GB, free: 2.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.373e-05/0.7423, allocations: 31.97 kB / 0.8944 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006873/0.743, allocations: 0.6044 MB / 0.895 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.743, allocations: 0 / 0.895 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007816/0.7437, allocations: 263.9 kB / 0.8952 GB, free: 1.863 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.003532/0.7473, allocations: 2.105 MB / 0.8973 GB, free: 15.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002019/0.7493, allocations: 0.8156 MB / 0.8981 GB, free: 14.88 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.7493, allocations: 8 kB / 0.8981 GB, free: 14.88 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009206/0.7503, allocations: 384.3 kB / 0.8985 GB, free: 14.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/0.7527, allocations: 0.5739 MB / 0.899 GB, free: 13.93 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.766, allocations: 8.203 MB / 0.907 GB, free: 5.414 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005985/0.7667, allocations: 1.11 MB / 0.9081 GB, free: 4.277 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008575/0.7675, allocations: 263.8 kB / 0.9084 GB, free: 4.016 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000511/0.7681, allocations: 359.3 kB / 0.9087 GB, free: 3.664 MB / 0.67 GB Notification: Performance of SimCode: time 6.71e-07/0.7681, allocations: 0 / 0.9087 GB, free: 3.664 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05333/0.8214, allocations: 28.76 MB / 0.9368 GB, free: 7.328 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.724/9.546, allocations: 8.234 kB / 0.9368 GB, free: 7.32 MB / 0.7012 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)