Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.005346/0.005346, allocations: 99.16 kB / 15.73 MB, free: 6.008 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.001139/0.00114, allocations: 196.3 kB / 16.67 MB, free: 5.934 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7481/0.7481, allocations: 132.2 MB / 422.8 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 63.14 kB / 0.5809 GB, free: 1.094 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1435, allocations: 80.2 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5043/0.6478, allocations: 187.3 MB / 0.8421 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01172/0.6595, allocations: 13.07 MB / 0.8548 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.6608, allocations: 29.22 kB / 0.8549 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.662, allocations: 443.6 kB / 0.8553 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.6646, allocations: 1.194 MB / 0.8565 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.6661, allocations: 0.7074 MB / 0.8572 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002276/0.6684, allocations: 2.014 MB / 0.8591 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009703/0.6693, allocations: 0.8504 MB / 0.86 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003975/0.6733, allocations: 1.866 MB / 0.8618 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.6746, allocations: 0.6579 MB / 0.8624 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.6747, allocations: 80.94 kB / 0.8625 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.6762, allocations: 0.8744 MB / 0.8634 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002914/0.6765, allocations: 391.1 kB / 0.8637 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00042/0.6769, allocations: 0.5022 MB / 0.8642 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.6785, allocations: 1.504 MB / 0.8657 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6785, allocations: 3.812 kB / 0.8657 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6785, allocations: 0.875 kB / 0.8657 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.6785, allocations: 2.281 kB / 0.8657 GB, free: 2.008 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001436/0.68, allocations: 1.261 MB / 0.8669 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.68, allocations: 9.094 kB / 0.8669 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.6801, allocations: 122 kB / 0.867 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.6812, allocations: 219 kB / 0.8673 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009249/0.6822, allocations: 0.686 MB / 0.8679 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.6822, allocations: 58.12 kB / 0.868 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.6823, allocations: 81.17 kB / 0.8681 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.6834, allocations: 0.93 MB / 0.869 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.6835, allocations: 2.531 kB / 0.869 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.266e-05/0.6835, allocations: 30.31 kB / 0.869 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.573e-05/0.6836, allocations: 33.81 kB / 0.869 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008283/0.6844, allocations: 0.6154 MB / 0.8696 GB, free: 0.6094 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.003543/0.688, allocations: 4.591 MB / 0.8741 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000585/0.6886, allocations: 0.5353 MB / 0.8746 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/0.6888, allocations: 250.8 kB / 0.8749 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/0.689, allocations: 102.9 kB / 0.875 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.6891, allocations: 42 kB / 0.875 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 3.015e-06/0.6891, allocations: 4.984 kB / 0.875 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.002324/0.6914, allocations: 1.612 MB / 0.8766 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.6915, allocations: 108.2 kB / 0.8767 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006468/0.6921, allocations: 0.7172 MB / 0.8774 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.6922, allocations: 38.05 kB / 0.8774 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.6924, allocations: 423.9 kB / 0.8778 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.6926, allocations: 166.6 kB / 0.878 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.6927, allocations: 121.8 kB / 0.8781 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6928, allocations: 331 kB / 0.8784 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.6931, allocations: 186.6 kB / 0.8786 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004251/0.6936, allocations: 416.1 kB / 0.879 GB, free: 11.3 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001859/0.6954, allocations: 1.168 MB / 0.8801 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.6954, allocations: 2.906 kB / 0.8801 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008188/0.6963, allocations: 0.6724 MB / 0.8808 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.6963, allocations: 8.438 kB / 0.8808 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.6963, allocations: 9.562 kB / 0.8808 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.6963, allocations: 8.125 kB / 0.8808 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.6968, allocations: 128.2 kB / 0.8809 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.6968, allocations: 15.83 kB / 0.881 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005209/0.6973, allocations: 31.02 kB / 0.881 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.6974, allocations: 24.41 kB / 0.881 GB, free: 10.88 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0002736/0.6976, allocations: 282.1 kB / 0.8813 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.6978, allocations: 85.52 kB / 0.8814 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.6979, allocations: 89.98 kB / 0.8815 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.6979, allocations: 5.469 kB / 0.8815 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.6979, allocations: 4.875 kB / 0.8815 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005888/0.6985, allocations: 0.7073 MB / 0.8822 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.7005, allocations: 1.633 MB / 0.8837 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.7005, allocations: 4.672 kB / 0.8838 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.701, allocations: 103.7 kB / 0.8839 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.701, allocations: 6.375 kB / 0.8839 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.701, allocations: 18 kB / 0.8839 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.701, allocations: 10.66 kB / 0.8839 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.7011, allocations: 9.5 kB / 0.8839 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009364/0.702, allocations: 0.8954 MB / 0.8848 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002872/0.7023, allocations: 211.1 kB / 0.885 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.7024, allocations: 21.5 kB / 0.885 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004446/0.7029, allocations: 15.81 kB / 0.885 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/0.7029, allocations: 39.97 kB / 0.885 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/0.703, allocations: 22.09 kB / 0.8851 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005259/0.7035, allocations: 0.5124 MB / 0.8856 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7035, allocations: 0 / 0.8856 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006287/0.7041, allocations: 201.5 kB / 0.8858 GB, free: 8.988 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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.001453/0.7056, allocations: 1.524 MB / 0.8872 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006623/0.7063, allocations: 484.8 kB / 0.8877 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7063, allocations: 0 / 0.8877 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.7065, allocations: 217.3 kB / 0.8879 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/0.7085, allocations: 484.1 kB / 0.8884 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007052/0.7156, allocations: 6.639 MB / 0.8949 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.7161, allocations: 1.024 MB / 0.8959 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005887/0.7167, allocations: 197.8 kB / 0.896 GB, free: 3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003618/0.7171, allocations: 302.5 kB / 0.8963 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of SimCode: time 1.292e-06/0.7171, allocations: 0 / 0.8963 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04557/0.7626, allocations: 22.24 MB / 0.9181 GB, free: 2.191 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.539/9.302, allocations: 6.266 kB / 0.9181 GB, free: 2.188 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)