Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.007799/0.007799, allocations: 96.3 kB / 15.73 MB, free: 5.988 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.001811/0.001811, allocations: 187.8 kB / 16.67 MB, free: 5.918 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8852/0.8852, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 59.91 kB / 0.5851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3738, allocations: 80.92 MB / 0.6642 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.185/0.5588, allocations: 190.3 MB / 0.85 GB, free: 2.559 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008651/0.5675, allocations: 5.678 MB / 0.8556 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009282/0.5685, allocations: 35.81 kB / 0.8556 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.5699, allocations: 0.5942 MB / 0.8562 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003608/0.5736, allocations: 1.653 MB / 0.8578 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003015/0.5766, allocations: 1.219 MB / 0.859 GB, free: 9.359 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002644/0.5793, allocations: 2.512 MB / 0.8614 GB, free: 6.84 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.5803, allocations: 0.9887 MB / 0.8624 GB, free: 5.832 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.5818, allocations: 1.074 MB / 0.8635 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.5833, allocations: 0.8155 MB / 0.8643 GB, free: 3.941 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.5834, allocations: 100 kB / 0.8643 GB, free: 3.844 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00266/0.5861, allocations: 1.536 MB / 0.8658 GB, free: 2.305 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004589/0.5865, allocations: 0.4909 MB / 0.8663 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006254/0.5872, allocations: 0.6261 MB / 0.8669 GB, free: 1.184 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.3933/0.9805, allocations: 2.11 MB / 0.869 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.9805, allocations: 1.406 kB / 0.869 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9805, allocations: 0 / 0.869 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.017e-05/0.9806, allocations: 0 / 0.869 GB, free: 8.492 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002498/0.9831, allocations: 1.511 MB / 0.8705 GB, free: 7.676 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.9831, allocations: 10.97 kB / 0.8705 GB, free: 7.676 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000174/0.9833, allocations: 137.1 kB / 0.8706 GB, free: 7.637 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.9853, allocations: 339.2 kB / 0.8709 GB, free: 7.57 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.9868, allocations: 0.822 MB / 0.8717 GB, free: 7.25 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-05/0.9869, allocations: 66.78 kB / 0.8718 GB, free: 7.25 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.987, allocations: 80.47 kB / 0.8719 GB, free: 7.25 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.9888, allocations: 1.07 MB / 0.8729 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/0.9888, allocations: 6 kB / 0.8729 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.172e-05/0.9889, allocations: 38.31 kB / 0.873 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.78e-05/0.989, allocations: 34.69 kB / 0.873 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.9905, allocations: 0.8276 MB / 0.8738 GB, free: 7.09 MB / 0.6856 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.005441/0.9959, allocations: 4.263 MB / 0.878 GB, free: 4.879 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005898/0.9966, allocations: 376.6 kB / 0.8783 GB, free: 4.855 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003162/0.9969, allocations: 214 kB / 0.8785 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/0.9971, allocations: 104.6 kB / 0.8786 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.9971, allocations: 41.69 kB / 0.8787 GB, free: 4.715 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=36): time 1.954e-06/0.9971, allocations: 0 / 0.8787 GB, free: 4.715 MB / 0.6856 GB Notification: Performance of matching and sorting (n=38): time 0.003011/1, allocations: 1.341 MB / 0.88 GB, free: 4.254 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/1, allocations: 59.48 kB / 0.88 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/1.002, allocations: 1.001 MB / 0.881 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/1.002, allocations: 33.83 kB / 0.8811 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/1.002, allocations: 0.4995 MB / 0.8815 GB, free: 3.789 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/1.002, allocations: 148.8 kB / 0.8817 GB, free: 3.699 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/1.002, allocations: 121.9 kB / 0.8818 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002516/1.003, allocations: 332.8 kB / 0.8821 GB, free: 19.37 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004702/1.003, allocations: 236.5 kB / 0.8823 GB, free: 19.37 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/1.004, allocations: 431.9 kB / 0.8828 GB, free: 19.16 MB / 0.7012 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.00232/1.006, allocations: 1.212 MB / 0.8839 GB, free: 18.86 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.006, allocations: 1.656 kB / 0.8839 GB, free: 18.86 MB / 0.7012 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001377/1.007, allocations: 0.7736 MB / 0.8847 GB, free: 18.77 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.007, allocations: 8.531 kB / 0.8847 GB, free: 18.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/1.007, allocations: 6.719 kB / 0.8847 GB, free: 18.77 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/1.007, allocations: 8.938 kB / 0.8847 GB, free: 18.77 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005716/1.008, allocations: 147.5 kB / 0.8849 GB, free: 18.77 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/1.008, allocations: 13.41 kB / 0.8849 GB, free: 18.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009633/1.009, allocations: 55.66 kB / 0.8849 GB, free: 18.77 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.572e-05/1.009, allocations: 28.12 kB / 0.885 GB, free: 18.77 MB / 0.7012 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: 25 * 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 (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.0004585/1.01, allocations: 318.5 kB / 0.8853 GB, free: 18.65 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/1.01, allocations: 106.3 kB / 0.8854 GB, free: 18.59 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/1.01, allocations: 103.3 kB / 0.8855 GB, free: 18.58 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/1.01, allocations: 4.312 kB / 0.8855 GB, free: 18.58 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/1.01, allocations: 0.875 kB / 0.8855 GB, free: 18.58 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006427/1.011, allocations: 0.6792 MB / 0.8861 GB, free: 18.13 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/1.013, allocations: 1.592 MB / 0.8877 GB, free: 17.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/1.013, allocations: 4.438 kB / 0.8877 GB, free: 17.68 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003902/1.013, allocations: 86.89 kB / 0.8878 GB, free: 17.68 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.659e-06/1.013, allocations: 12.72 kB / 0.8878 GB, free: 17.68 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/1.013, allocations: 15.94 kB / 0.8878 GB, free: 17.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/1.013, allocations: 4.969 kB / 0.8878 GB, free: 17.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.013, allocations: 9.656 kB / 0.8878 GB, free: 17.68 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009727/1.014, allocations: 0.8528 MB / 0.8886 GB, free: 17.36 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/1.015, allocations: 246.1 kB / 0.8889 GB, free: 17.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/1.015, allocations: 13.47 kB / 0.8889 GB, free: 17.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006608/1.015, allocations: 39.86 kB / 0.8889 GB, free: 17.21 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/1.016, allocations: 37.25 kB / 0.889 GB, free: 17.2 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.465e-05/1.016, allocations: 27.83 kB / 0.889 GB, free: 17.2 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009612/1.017, allocations: 0.7086 MB / 0.8897 GB, free: 17.09 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/1.017, allocations: 0.9688 kB / 0.8897 GB, free: 17.09 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008884/1.017, allocations: 254.7 kB / 0.8899 GB, free: 17.09 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * 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.0015/1.019, allocations: 1.498 MB / 0.8914 GB, free: 16.24 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009205/1.02, allocations: 0.5072 MB / 0.8919 GB, free: 16.23 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.02, allocations: 2.875 kB / 0.8919 GB, free: 16.23 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002644/1.02, allocations: 188.1 kB / 0.8921 GB, free: 16.23 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/1.023, allocations: 0.6184 MB / 0.8927 GB, free: 16.15 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/1.034, allocations: 7.626 MB / 0.9001 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005787/1.035, allocations: 1.096 MB / 0.9012 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009168/1.036, allocations: 244.6 kB / 0.9014 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003684/1.036, allocations: 344.8 kB / 0.9017 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of SimCode: time 9.62e-07/1.036, allocations: 0 / 0.9017 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04879/1.085, allocations: 27.84 MB / 0.9289 GB, free: 7.117 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.852/9.937, allocations: 22.58 kB / 0.929 GB, free: 7.098 MB / 0.7012 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_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_MixingVolumeTraceSubstance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)