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.004776/0.004776, allocations: 95.05 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.001244/0.001244, allocations: 206.2 kB / 16.68 MB, free: 5.969 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.364/1.364, 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-master/package.mo): time 1.001/1.001, allocations: 135.6 MB / 426.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 67.89 kB / 0.5858 GB, free: 3.191 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3719, allocations: 81.02 MB / 0.6649 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2127/0.5846, allocations: 190.3 MB / 0.8507 GB, free: 2.062 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009453/0.5941, allocations: 5.677 MB / 0.8563 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.5953, allocations: 39.75 kB / 0.8563 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.597, allocations: 0.5669 MB / 0.8569 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00399/0.601, allocations: 1.602 MB / 0.8584 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003042/0.6041, allocations: 1.215 MB / 0.8596 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003381/0.6075, allocations: 2.496 MB / 0.8621 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/0.609, allocations: 1 MB / 0.863 GB, free: 5.418 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.6108, allocations: 1.031 MB / 0.864 GB, free: 4.383 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/0.6123, allocations: 0.8036 MB / 0.8648 GB, free: 3.582 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000182/0.6125, allocations: 108 kB / 0.8649 GB, free: 3.477 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002662/0.6152, allocations: 1.524 MB / 0.8664 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005173/0.6157, allocations: 498.7 kB / 0.8669 GB, free: 1.461 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007011/0.6164, allocations: 0.6221 MB / 0.8675 GB, free: 0.8359 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.3363/0.9528, allocations: 2.119 MB / 0.8696 GB, free: 8.402 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.9528, allocations: 0 / 0.8696 GB, free: 8.402 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9528, allocations: 0 / 0.8696 GB, free: 8.402 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.9528, allocations: 0 / 0.8696 GB, free: 8.402 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.002203/0.955, allocations: 1.516 MB / 0.8711 GB, free: 7.586 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.9551, allocations: 9.781 kB / 0.8711 GB, free: 7.586 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/0.9553, allocations: 140.2 kB / 0.8712 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/0.9571, allocations: 330.4 kB / 0.8715 GB, free: 7.484 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.9582, allocations: 0.8256 MB / 0.8723 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.906e-05/0.9583, allocations: 70.38 kB / 0.8724 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.9584, allocations: 84.28 kB / 0.8725 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.96, allocations: 1.066 MB / 0.8735 GB, free: 7.008 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.96, allocations: 5.922 kB / 0.8735 GB, free: 7.008 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.928e-05/0.9601, allocations: 37.09 kB / 0.8735 GB, free: 7.008 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-05/0.9602, allocations: 39.8 kB / 0.8736 GB, free: 7.008 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.9616, allocations: 0.8215 MB / 0.8744 GB, free: 7 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.004371/0.966, allocations: 4.26 MB / 0.8785 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005126/0.9665, allocations: 380.8 kB / 0.8789 GB, free: 4.766 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.9668, allocations: 210.6 kB / 0.8791 GB, free: 4.758 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/0.9669, allocations: 102 kB / 0.8792 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.9669, allocations: 41.34 kB / 0.8792 GB, free: 4.625 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=36): time 2.054e-06/0.967, allocations: 1.156 kB / 0.8792 GB, free: 4.625 MB / 0.6856 GB Notification: Performance of matching and sorting (n=38): time 0.002347/0.9693, allocations: 1.341 MB / 0.8806 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.9693, allocations: 55.38 kB / 0.8806 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.9707, allocations: 1.008 MB / 0.8816 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.9708, allocations: 37.23 kB / 0.8816 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000391/0.9712, allocations: 0.4942 MB / 0.8821 GB, free: 19.7 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 9.936e-05/0.9713, allocations: 146.8 kB / 0.8823 GB, free: 19.61 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.9715, allocations: 124.1 kB / 0.8824 GB, free: 19.59 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.9716, allocations: 333.2 kB / 0.8827 GB, free: 19.28 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004345/0.9721, allocations: 231.2 kB / 0.8829 GB, free: 19.28 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005067/0.9726, allocations: 438.5 kB / 0.8833 GB, free: 19.07 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.002198/0.9748, allocations: 1.212 MB / 0.8845 GB, free: 18.77 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.9748, allocations: 2.062 kB / 0.8845 GB, free: 18.77 MB / 0.7012 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001261/0.9761, allocations: 0.7731 MB / 0.8853 GB, free: 18.68 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.9761, allocations: 7.906 kB / 0.8853 GB, free: 18.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.9761, allocations: 7.906 kB / 0.8853 GB, free: 18.68 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.9761, allocations: 9.375 kB / 0.8853 GB, free: 18.68 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005527/0.9767, allocations: 144.3 kB / 0.8854 GB, free: 18.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.9767, allocations: 8.625 kB / 0.8854 GB, free: 18.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007935/0.9775, allocations: 62.45 kB / 0.8855 GB, free: 18.68 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.285e-05/0.9776, allocations: 28.03 kB / 0.8855 GB, free: 18.68 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.0003673/0.9779, allocations: 317.1 kB / 0.8858 GB, free: 18.56 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.9781, allocations: 104.5 kB / 0.8859 GB, free: 18.5 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.9783, allocations: 104.4 kB / 0.886 GB, free: 18.49 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.9783, allocations: 4.812 kB / 0.886 GB, free: 18.49 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.9783, allocations: 1.281 kB / 0.886 GB, free: 18.49 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006572/0.979, allocations: 0.6769 MB / 0.8867 GB, free: 18.04 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.9811, allocations: 1.586 MB / 0.8882 GB, free: 17.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.9811, allocations: 5.031 kB / 0.8882 GB, free: 17.59 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/0.9815, allocations: 88.73 kB / 0.8883 GB, free: 17.59 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/0.9815, allocations: 11.28 kB / 0.8883 GB, free: 17.59 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.9815, allocations: 13.69 kB / 0.8884 GB, free: 17.59 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.9815, allocations: 8.656 kB / 0.8884 GB, free: 17.59 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.9815, allocations: 7.781 kB / 0.8884 GB, free: 17.59 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009431/0.9825, allocations: 0.857 MB / 0.8892 GB, free: 17.27 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/0.9828, allocations: 242 kB / 0.8894 GB, free: 17.12 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.9829, allocations: 17.28 kB / 0.8895 GB, free: 17.12 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006376/0.9836, allocations: 37.38 kB / 0.8895 GB, free: 17.12 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.9836, allocations: 39.19 kB / 0.8895 GB, free: 17.12 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.185e-05/0.9837, allocations: 23.89 kB / 0.8896 GB, free: 17.12 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009121/0.9846, allocations: 0.7094 MB / 0.8902 GB, free: 17.01 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9846, allocations: 0.75 kB / 0.8902 GB, free: 17.01 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008068/0.9854, allocations: 255.7 kB / 0.8905 GB, free: 17 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.001547/0.987, allocations: 1.501 MB / 0.892 GB, free: 16.15 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0008381/0.9879, allocations: 0.5051 MB / 0.8924 GB, free: 16.14 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.9879, allocations: 3.156 kB / 0.8925 GB, free: 16.14 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002436/0.9881, allocations: 188 kB / 0.8926 GB, free: 16.14 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002513/0.9906, allocations: 0.6203 MB / 0.8932 GB, free: 16.07 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008733/0.9994, allocations: 7.626 MB / 0.9007 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006047/1, allocations: 1.098 MB / 0.9018 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000771/1.001, allocations: 241.8 kB / 0.902 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/1.001, allocations: 344.5 kB / 0.9023 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of SimCode: time 5.51e-07/1.001, allocations: 0.8438 kB / 0.9023 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4854/1.487, allocations: 27.85 MB / 0.9295 GB, free: 6.914 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.491/10.98, allocations: 16.25 kB / 0.9295 GB, free: 6.902 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)